/* ==========================================================================
   PERFECTOO PROTECTOR — VIDEO SHOWCASE
   The product protects televisions, so the video stage is built as one:
   a dark screen inside a light bezel, with a soft reflection across the glass.
   Around it the section stays light and calm.
   ========================================================================== */

/* ---------- 1. Tokens (same as other sections; move to :root later) ---------- */
.video-showcase {
  --bg:#F2F6F9; --bg-tint:#E4EEF4; --surface:#FFFFFF;
  --ink:#10202C; --ink-2:#46586A; --ink-3:#7A8B9A; --line:#D5E1EA;
  --accent:#0A6B78; --accent-hover:#085862; --accent-soft:#D8EEF0; --signal:#E8A33D;
  --deep:#06323A; --deep-2:#0A5560;
  --font-display:"Bricolage Grotesque","Segoe UI",system-ui,sans-serif;
  --font-body:"Instrument Sans","Segoe UI",system-ui,sans-serif;
  --r-lg:26px; --r-xl:34px;
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- 2. Shell ---------- */
.video-showcase {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 120px) clamp(20px, 5vw, 80px);
  background:
    radial-gradient(45% 45% at 0% 0%, var(--accent-soft) 0%, transparent 70%),
    #FFFFFF;
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.video-showcase *, .video-showcase *::before, .video-showcase *::after { box-sizing: border-box; }
.video-showcase .section-inner { max-width: 1360px; margin: 0 auto; }

/* ---------- 3. Header ---------- */
.video-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: var(--accent); }
.video-eyebrow-mark { width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.video-header-row {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(24px, 5vw, 96px); align-items: end; margin-top: 22px;
}
.video-header-row h2 {
  margin: 0; max-width: 14ch;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 4.8vw, 4.3rem); line-height: 1; letter-spacing: -.04em;
  text-wrap: balance;
}
.video-header-row p {
  margin: 0; max-width: 46ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.7; color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- 4. Feature layout ---------- */
.video-feature {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .8fr);
  gap: clamp(16px, 2.2vw, 28px);
  margin-top: clamp(36px, 5vw, 72px);
  align-items: stretch;
}

/* ---------- 5. Stage: a television ---------- */
.video-stage {
  padding: 14px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-tint) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(16,32,44,.05), 0 60px 90px -50px rgba(6,50,58,.55);
}
.video-stage-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 12px 14px;
  font-size: .8125rem; font-weight: 500; color: var(--ink-2);
}
.video-stage-top span:last-child {
  padding: 4px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; color: var(--accent);
}

.video-placeholder {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; place-items: center;
  aspect-ratio: 16 / 9; min-height: 320px;
  border-radius: calc(var(--r-xl) - 14px);
  color: #fff;
  background:
    radial-gradient(60% 70% at 70% 20%, rgba(120,220,230,.35) 0%, transparent 60%),
    linear-gradient(160deg, var(--deep-2) 0%, var(--deep) 100%);
  cursor: pointer;
}
.video-placeholder::before { /* soft reflection across the glass */
  content: ""; position: absolute; z-index: 0; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.14) 32%, transparent 32.2%);
  pointer-events: none;
}
.video-placeholder-orbit {
  position: absolute; z-index: 0; top: 50%; left: 50%; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  transform: translate(-50%, -50%);
}
.video-orbit-one { width: min(46%, 360px); aspect-ratio: 1; }
.video-orbit-two { width: min(74%, 580px); aspect-ratio: 1; border-style: dashed; border-color: rgba(255,255,255,.13); }

/* Play button: a clear, single focal point */
.video-play-mark {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 0 12px rgba(255,255,255,.14), 0 24px 40px -12px rgba(0,0,0,.5);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.video-play-mark span {
  width: 0; height: 0; margin-left: 6%;
  border-left: clamp(18px, 2.4vw, 26px) solid var(--accent);
  border-top: clamp(11px, 1.5vw, 16px) solid transparent;
  border-bottom: clamp(11px, 1.5vw, 16px) solid transparent;
}
.video-placeholder:hover .video-play-mark {
  transform: scale(1.07);
  box-shadow: 0 0 0 18px rgba(255,255,255,.18), 0 28px 44px -12px rgba(0,0,0,.55);
}

.video-placeholder-copy {
  position: absolute; z-index: 2; left: clamp(18px, 3vw, 36px); bottom: clamp(52px, 6vw, 70px);
}
.video-placeholder-kicker { font-size: .875rem; font-weight: 600; color: var(--signal); }
.video-placeholder-copy p {
  margin: 8px 0 0; max-width: 22ch;
  font: 700 clamp(1.1rem, 2vw, 1.7rem)/1.15 var(--font-display); letter-spacing: -.025em;
}
.video-stage-bottom {
  position: absolute; z-index: 2; left: clamp(18px, 3vw, 36px); right: clamp(18px, 3vw, 36px); bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2);
  font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.75);
}

/* ---------- 6. Side card ---------- */
.video-side {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.video-side-top { display: flex; justify-content: space-between; align-items: center; }
.video-side-index {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font: 700 .9rem/1 var(--font-display);
}
.video-side-label { font-size: .8125rem; font-weight: 500; color: var(--ink-3); }

.video-side-accent { display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--signal); }
.video-side-content h3 {
  margin: 18px 0 0;
  font: 800 clamp(1.7rem, 2.6vw, 2.3rem)/1.05 var(--font-display); letter-spacing: -.035em;
}
.video-side-content p { margin: 14px 0 0; font-size: .9375rem; line-height: 1.65; color: var(--ink-2); }

.video-social-link {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: .9375rem; font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(10,107,120,.7);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.video-social-arrow {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.18); transition: transform .3s var(--ease);
}
a.video-social-link:hover { background: var(--accent-hover); }
a.video-social-link:hover .video-social-arrow { transform: translate(2px, -2px); }
a.video-social-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.video-social-static { background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); box-shadow: none; }
.video-social-static .video-social-arrow { background: var(--surface); color: var(--accent); }

/* ---------- 7. Footer ---------- */
.video-footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: clamp(32px, 4.5vw, 56px); padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
}
.video-footer-left { display: inline-flex; align-items: center; gap: 12px; }
.video-footer-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.video-footer-right span { color: var(--accent); }

/* ---------- 8. Responsive ---------- */
@media (max-width: 1100px) {
  .video-feature { grid-template-columns: 1fr; }
  .video-side { gap: 22px; }
}
@media (max-width: 860px) {
  .video-header-row { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 620px) {
  .video-stage { padding: 10px; border-radius: 26px; }
  .video-placeholder { aspect-ratio: 4 / 3.4; border-radius: 18px; }
  .video-stage-top span:first-child { display: none; }
  .video-stage-top { justify-content: flex-end; }
  .video-footer-right { display: none; }
}

/* ---------- 9. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .video-play-mark, .video-social-arrow, .video-social-link { transition: none; }
  .video-placeholder:hover .video-play-mark { transform: none; }
}