/* Q4 Workspace: Q4 Studios / video editing page (loaded after site.css and va.css) */

.st-brand { margin-bottom: 18px; font-size: 15px; font-weight: 500; letter-spacing: 0.02em; color: var(--accent); }

/* ---------- Hero: three phones playing example reels ---------- */
.reels {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  max-width: 900px;
  margin: 72px auto 0;
}
.reels::before {
  content: "";
  position: absolute;
  inset: 20% -6% -12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 160, 150, 0.75), rgba(42, 107, 102, 0.35) 60%, transparent 100%);
  filter: blur(60px);
  pointer-events: none;
}
.reel { display: grid; justify-items: center; gap: 14px; margin: 0; }
.reel__phone {
  width: 200px;
  aspect-ratio: 9 / 16;
  padding: 6px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(111, 184, 174, 0.25);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.reel--main .reel__phone { width: 250px; }
.reel__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(70% 45% at 50% 42%, rgba(255, 214, 170, 0.22), transparent 70%),
    linear-gradient(180deg, #2b3b3a 0%, #1a2424 55%, #0c1111 100%);
}
.reel--a .reel__screen { background: radial-gradient(70% 45% at 50% 40%, rgba(170, 210, 255, 0.2), transparent 70%), linear-gradient(180deg, #2a3140 0%, #171c26 55%, #0b0e13 100%); }
.reel--c .reel__screen { background: radial-gradient(70% 45% at 50% 40%, rgba(255, 190, 150, 0.2), transparent 70%), linear-gradient(180deg, #3a3029 0%, #221c18 55%, #100d0b 100%); }
/* a speaker silhouette, so the frame reads as talking-head footage */
.reel__screen::before,
.reel__screen::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.32); filter: blur(6px); }
.reel__screen::before { top: 25%; width: 30%; aspect-ratio: 1; border-radius: 50%; }
.reel__screen::after { top: 44%; width: 70%; height: 44%; border-radius: 45% 45% 0 0; }
/* soft out-of-focus lights behind the speaker, like a shallow depth-of-field shot */
.reel__screen {
  --bokeh:
    radial-gradient(circle at 18% 16%, rgba(255, 236, 200, 0.22) 0 6%, transparent 7%),
    radial-gradient(circle at 80% 22%, rgba(255, 236, 200, 0.16) 0 8%, transparent 9%),
    radial-gradient(circle at 70% 8%, rgba(200, 240, 232, 0.14) 0 4%, transparent 5%);
}
.reel__glow { position: absolute; inset: 0; background: var(--bokeh); filter: blur(3px); }
.reel__bar { position: absolute; top: 10px; left: 12px; right: 12px; z-index: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.reel__bar span { display: block; height: 100%; width: 0; background: #fff; animation: reel-progress 6s linear infinite; }
.reel--a .reel__bar span { animation-delay: -2s; }
.reel--c .reel__bar span { animation-delay: -4s; }
.reel__side { position: absolute; right: 10px; bottom: 30%; z-index: 1; display: grid; gap: 14px; color: #fff; opacity: .9; }
.reel__caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 18%;
  z-index: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.reel--main .reel__caption { font-size: 18px; }
.reel__caption span { animation: reel-word 3s steps(1) infinite; }
.reel__caption span:nth-child(2) { animation-delay: .75s; }
.reel__caption span:nth-child(3) { animation-delay: 1.5s; }
.reel__caption span:nth-child(4) { animation-delay: 2.25s; }
.reel__handle { position: absolute; left: 12px; bottom: 12px; z-index: 1; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.8); }
.reel__label { font-size: 13px; font-weight: 500; color: #8f9998; }
@keyframes reel-progress { from { width: 0; } to { width: 100%; } }
@keyframes reel-word { 0% { color: #a6f0e4; } 25%, 100% { color: #fff; } }

/* ---------- Key facts strip ---------- */
.st-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1000px;
  margin: 0 auto;
  padding: 90px 16px 0;
  text-align: center;
}
.st-fact { padding: 6px 16px; }
.st-fact + .st-fact { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.st-fact__value { font-size: clamp(30px, 3.4vw, 42px); font-weight: 500; letter-spacing: -0.03em; color: #fff; }
.st-fact__value small { font-size: .5em; letter-spacing: 0; color: #8f9998; margin-left: 4px; }
.st-fact__label { margin-top: 6px; font-size: 14px; color: #8f9998; }

/* ---------- Included: 4 cards ---------- */
.st-included { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Plans ---------- */
.st-guarantee {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin: 40px auto 0;
  padding: 14px 20px;
  border-radius: 16px;
  text-align: left;
  background: rgba(42, 107, 102, 0.14);
  border: 1px solid rgba(111, 184, 174, 0.3);
}
.st-guarantee .plan__icon { flex: none; }
.st-guarantee strong { display: block; font-size: 15px; color: #fff; }
.st-guarantee span { font-size: 14px; color: #a3acab; }
.st-per { margin-top: 10px; font-size: 13px; color: #8f9998; }
.st-plans .va-plans__group { margin-top: 28px; }
.st-includes {
  margin-top: 16px;
  padding: 26px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #111717, #0b0e0e);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.st-includes__title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.st-includes__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; margin: 18px 0 0; }
@media (max-width: 1000px) {
  .st-includes { max-width: 460px; margin-left: auto; margin-right: auto; }
  .st-includes__list { grid-template-columns: 1fr; }
}

.st-proof { padding: 120px 16px 20px; }
.st-proof .quote--featured { grid-row: auto; max-width: 860px; margin: 0 auto; }

@media (max-width: 1000px) {
  .st-included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .reels { margin-top: 48px; }
  .st-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding-top: 70px; }
  .st-fact:nth-child(3) { border-left: none; }
  .st-proof { padding-top: 90px; }
}
@media (max-width: 640px) {
  .reels { gap: 0; }
  .reel__phone { width: 120px; border-radius: 22px; padding: 4px; }
  .reel__screen { border-radius: 18px; }
  .reel--main { position: relative; z-index: 1; margin: 0 -50px; }
  .reel--main .reel__phone { width: 190px; }
  .reel:not(.reel--main) { opacity: .7; }
  .reel:not(.reel--main) .reel__caption, .reel:not(.reel--main) .reel__side { display: none; }
  .reel__label { display: none; }
}
@media (max-width: 480px) {
  .st-included { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reel__bar span, .reel__caption span { animation: none !important; }
  .reel__bar span { width: 40%; }
}

/* ---------- Placeholder videos inside the phones ---------- */
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__screen.has-video::before { display: none; }
/* bottom shade keeps captions readable over real footage */
.reel__screen.has-video::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  filter: none;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 22%, transparent 45%, rgba(0, 0, 0, 0.7) 100%);
}
