/* Product: Zoho Meeting - page-specific design.
   Shared Zoho blue accent. The mechanic is a full scene morph: toggling "meeting" vs "webinar"
   swaps the entire room visual - equal video tiles for everyone vs one presenter facing a
   crowd of silent dots - not a value changing in place like every other page's mechanic.

   All classes scoped to .mtg-page, prefixed mtg-. */

.mtg-page { --mtg: #226eb3; --mtg-d: #17517f; --mtg-l: #eaf2f9; }

.mtg-page .ph-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; font-weight: 700; font-size: .9rem; color: #fff;
  margin-block-end: 18px;
}
.mtg-page .ph-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 24px; }

/* ------------------------------------------------------------------------ mode -- */
.mtg-mode { padding: clamp(48px, 7vw, 84px) 0; }
.mtg-mode h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 0 0 12px; }
.mtg-mode .lede { max-width: 82ch; }

.mtg-switch { display: inline-flex; gap: 8px; margin: 26px 0 20px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.mtg-tab {
  font: inherit; font-weight: 700; font-size: .93rem; cursor: pointer;
  padding: 9px 22px; border-radius: 999px; background: transparent; color: var(--ink); border: none;
  transition: background .15s ease, color .15s ease;
}
.mtg-tab[aria-pressed="true"] { background: var(--mtg-d); color: #fff; }

.mtg-room {
  background: var(--mtg-l); border-radius: 18px;
  padding: clamp(20px, 3.5vw, 32px);
  display: grid; gap: 24px;
}
.mtg-room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-height: 140px; }
.mtg-tile {
  aspect-ratio: 4/3; border-radius: 10px;
  background: linear-gradient(140deg, var(--mtg-d), color-mix(in srgb, var(--mtg-d) 60%, #0a2338));
  opacity: 0; transform: scale(.7);
}
@media (prefers-reduced-motion: no-preference) {
  .mtg-tile { animation: mtg-in .3s ease-out forwards; }
  .mtg-tile:nth-child(1) { animation-delay: .02s; } .mtg-tile:nth-child(2) { animation-delay: .06s; }
  .mtg-tile:nth-child(3) { animation-delay: .10s; } .mtg-tile:nth-child(4) { animation-delay: .14s; }
  .mtg-tile:nth-child(5) { animation-delay: .18s; } .mtg-tile:nth-child(6) { animation-delay: .22s; }
}
.mtg-room.is-static .mtg-tile { opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) { .mtg-tile { opacity: 1; transform: none; } }
@keyframes mtg-in { to { opacity: 1; transform: scale(1); } }

.mtg-room.is-webinar .mtg-room-grid { grid-template-columns: 1fr; }
.mtg-tile-host { max-width: 260px; margin-inline: auto; aspect-ratio: 16/9; }
.mtg-crowd { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding-block-start: 4px; }
.mtg-crowd i {
  width: 14px; height: 14px; border-radius: 50%; display: block;
  background: color-mix(in srgb, var(--mtg-d) 55%, #cfd9e2);
  opacity: 0; transform: scale(.5);
}
@media (prefers-reduced-motion: no-preference) { .mtg-crowd i { animation: mtg-dot-in .25s ease-out forwards; } }
.mtg-room.is-static .mtg-crowd i { opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) { .mtg-crowd i { opacity: 1; transform: none; } }
@keyframes mtg-dot-in { to { opacity: 1; transform: scale(1); } }

.mtg-room-t { margin: 0 0 8px; font-weight: 800; font-size: 1.1rem; color: var(--mtg-d); }
.mtg-room-d { margin: 0; color: var(--ink); font-size: .95rem; line-height: 1.6; max-width: 70ch; }

/* ------------------------------------------------------------------------ need -- */
.mtg-need {
  padding: clamp(40px, 6vw, 64px) 0;
  background: var(--mtg-l);
  border-block: 1px solid color-mix(in srgb, var(--mtg) 18%, var(--line));
}
.mtg-need h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 0 0 12px; }
.mtg-need .lede { max-width: 82ch; margin: 0; }

/* ------------------------------------------------------------------------- caps -- */
.mtg-caps { padding: clamp(48px, 7vw, 84px) 0; }
.mtg-caps h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 22px; }
.mtg-cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 13px; }
.mtg-cap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; }
.mtg-cap b { display: block; margin-block-end: 6px; font-size: 1.02rem; color: var(--mtg-d); }
.mtg-cap p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ----------------------------------------------------------------------- move -- */
.mtg-move { padding: clamp(48px, 7vw, 84px) 0; }
.mtg-move h2 { font-size: 1.35rem; margin: 0 0 10px; }
.mtg-move h3 { font-size: 1.08rem; }

@media (max-width: 560px) {
  .mtg-room-grid { grid-template-columns: repeat(2, 1fr); }
}
