/* Product pages (ZLO AI, Teams): shared sections. Loaded after styles.css
   and home.css, whose hero, stage, phone, aura and marquee they reuse.
   Same rules: mostly white, violet in borders and small accents; pills for
   buttons and chips, 28px panels, 44px phone frames. */

.sec {
  padding: 120px 0 40px;
}

.sec.tinted {
  margin-top: 80px;
  padding: 112px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec h2 {
  margin-bottom: 20px;
}

.sec .sub {
  margin: 0 0 56px;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.textlink {
  display: inline-flex;
  gap: 6px;
  color: var(--tint);
  font-weight: 600;
  text-decoration: none;
}

.textlink span {
  transition: transform 220ms var(--ease);
}

@media (hover: hover) {
  .textlink:hover {
    text-decoration: underline;
  }

  .textlink:hover span {
    transform: translateX(3px);
  }
}

/* ---- A screenshot beside a short message -------------------------------- */

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.split + .split {
  margin-top: 96px;
}

.split h3 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 16ch;
  text-wrap: balance;
}

.split p {
  margin: 16px 0 0;
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.split ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.split li {
  position: relative;
  padding-left: 22px;
}

.split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--glow-a), var(--glow-c));
}

/* The top of a real app screen, cut off at the bottom. */
.shot {
  margin: 0;
  justify-self: center;
  width: min(100%, 360px);
  height: clamp(420px, 60vh, 560px);
  border-radius: 44px 44px 0 0;
  overflow: hidden;
  border-bottom: 0;
  box-shadow: 0 40px 80px -34px rgb(var(--shadow) / 0.35);
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }

  .split.flip .shot {
    order: -1;
  }
}

/* ---- Plan rows on product pages (four across on wide screens) ------------ */

@media (min-width: 900px) {
  .plan-rows.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1140px) {
  .plan-rows.four {
    grid-template-columns: repeat(4, 1fr);
  }

  .plan-rows.four .price {
    font-size: 3rem;
  }
}

/* ---- Deal stages: a track that fills to "Proposal" ------------------------- */

.stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 auto;
  padding: 0 0 32px;
  list-style: none;
  width: 100%;
  max-width: 520px;
}

.stages li {
  padding-top: 14px;
  border-top: 3px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.stages li.on {
  border-top-color: var(--tint);
  color: var(--ink);
  font-weight: 600;
}

.ai-more {
  margin: 28px 0 0 !important;
}

.split h2 {
  margin-bottom: 20px;
}

@media (min-width: 900px) {
  .bento .cell.deal {
    grid-column: 1 / -1;
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
  }

  .bento .cell.deal .stages {
    order: 1;
    flex: 1;
    max-width: 560px;
    margin: 0;
    padding: 0;
  }
}

/* ---- Questions and answers ---------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
  max-width: 860px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--tint);
  font-weight: 400;
  transition: transform 300ms var(--ease), background-color 200ms var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--tint-soft);
}

.faq details p {
  margin: 0;
  padding: 0 0 24px;
  max-width: 62ch;
  color: var(--ink-soft);
}

.sec.last {
  padding-bottom: 120px;
}

/* ---- Footer links to the product pages ----------------------------------- */

.closing .actions {
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .textlink span,
  .faq summary::after {
    transition: none;
  }

  .textlink:hover span {
    transform: none;
  }
}

/* ---- A short list of points with a soft dot -------------------------------- */

.sec .points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.sec .points li {
  position: relative;
  padding-left: 22px;
}

.sec .points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--glow-a), var(--glow-c));
}
