/* ==========================================================================
   Picxa — marketing site
   Dark, Apple-style. Animations are driven by GSAP in js/main.js.
   ========================================================================== */

:root {
  --bg: #171716;
  --bg-soft: #201f1d;
  --panel: rgba(244, 240, 232, 0.055);
  --panel-border: rgba(244, 240, 232, 0.14);
  --text: #f7f7f5;
  --text-dim: rgba(247, 247, 245, 0.7);
  --text-faint: rgba(247, 247, 245, 0.5);
  --accent: #f2f2ef;
  --accent-2: #c7c7c2;
  --grad-accent: var(--accent);
  --positive: #f2f2ef;
  --negative: rgba(247, 247, 245, 0.5);
  --icon-bg: #4b4b48;
  --icon: #d6d6d1;
  --radius: 22px;
  --nav-h: 52px;
  /* Type scale — aligned with hyperos.mi.com (h1 72 / h2 56 / h3 48 / body 16) */
  --fs-h1: clamp(40px, 6.5vw, 72px);
  --fs-h2: clamp(32px, 5vw, 56px);
  --fs-h3: clamp(26px, 3.6vw, 44px);
  --fs-sub: clamp(20px, 2vw, 24px);
  --fs-body: 16px;
  --fs-body-sm: 14px;
  --fs-caption: 12px;
  --fs-stat: clamp(48px, 6vw, 72px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto; /* GSAP controls feel; keep native */
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  position: relative;
}

/* ==========================================================================
   Background glow (parallax targets in JS)
   ========================================================================== */

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}

.glow-a {
  top: -18vw;
  left: -12vw;
  background: radial-gradient(circle, rgba(244, 240, 232, 0.08), transparent 65%);
}

.glow-b {
  top: 28vh;
  right: -20vw;
  background: radial-gradient(circle, rgba(244, 240, 232, 0.055), transparent 65%);
}

.glow-c {
  bottom: -22vw;
  left: 18vw;
  background: radial-gradient(circle, rgba(244, 240, 232, 0.045), transparent 65%);
}

/* ==========================================================================
   Navigation — frosted glass
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(22, 22, 24, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--fs-body-sm);
  color: var(--text-dim);
}

.nav-links a {
  transition: color 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--accent) !important;
  font-weight: 600;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 980px;
  padding: 10px 22px;
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  will-change: transform;
}

.btn-primary {
  background: var(--accent);
  color: #171716;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.btn-primary:hover {
  background: #fffaf0;
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--panel-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 17px;
}

/* ==========================================================================
   Section helpers
   ========================================================================== */

.section {
  padding: 140px 24px;
  max-width: 1080px;
  margin: 0 auto;
  scroll-margin-top: var(--nav-h);
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 40px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 80px;
  position: relative;
}

.hero-copy {
  position: relative;
  top: clamp(36px, 5vh, 64px);
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.hero-subtitle {
  max-width: 640px;
  margin: 24px auto 36px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-dim);
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-faint);
}

/* Product stage */
.hero-stage {
  position: relative;
  width: min(980px, 92vw);
  margin-top: 72px;
  perspective: 1400px;
}

.window-frame {
  background: #1c1c1f;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  will-change: transform;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-bar .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.window-title {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-faint);
}

.window-main {
  position: relative;
  z-index: 2;
}

.window-shot {
  width: 100%;
}

/* floating mini windows */
.window-mini {
  position: absolute;
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.window-mini img {
  width: 100%;
}

.window-mini-a {
  width: 32%;
  right: -8%;
  bottom: 8%;
  transform: rotate(4deg);
}

.window-mini-b {
  width: 24%;
  left: -6%;
  top: 6%;
  transform: rotate(-5deg);
  padding: 18px;
  background: rgba(28, 28, 31, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.mini-ai {
  font-size: 14px;
  color: var(--text);
}

/* ==========================================================================
   Scroll showcase (pinned)
   ========================================================================== */

.showcase {
  max-width: none;
  margin: 0;
  padding: 0;
}

.pinned-stage {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
  overflow: hidden;
  padding: 0 24px;
}

.stage-screens {
  display: grid;
  width: min(920px, 94vw);
}

/* grid stacking keeps the natural height in the flex layout */
.stage-screen {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94);
}

.stage-screen.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.stage-screen .window-frame {
  width: 100%;
}

.stage-caption {
  min-height: 120px;
  display: grid;
  max-width: 720px;
}

.caption-item {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
}

.caption-item.is-active {
  opacity: 1;
  visibility: visible;
}

.caption-item h2 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 12px;
}

.caption-item p {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================================
   AI search demo
   ========================================================================== */

.ai-search {
  text-align: center;
}

.search-demo {
  max-width: 640px;
  margin: 0 auto;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 18px 22px;
  text-align: left;
  font-size: var(--fs-body);
}

.search-icon {
  width: 16px;
  height: 16px;
  border: 2px solid var(--text-dim);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 7px;
  background: var(--text-dim);
  right: -3px;
  bottom: -4px;
  transform: rotate(45deg);
  border-radius: 1px;
}

.search-text {
  color: var(--text);
  white-space: pre;
  min-height: 1.4em;
}

.search-caret {
  width: 2px;
  height: 1.3em;
  background: var(--accent);
  animation: caret-blink 0.9s steps(1) infinite;
}

@keyframes caret-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.search-results {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.result-tag {
  background: rgba(244, 240, 232, 0.08);
  border: 1px solid rgba(244, 240, 232, 0.2);
  color: var(--text);
  border-radius: 980px;
  padding: 8px 16px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
}

/* ==========================================================================
   Privacy
   ========================================================================== */

.privacy-card {
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(244, 240, 232, 0.07), transparent 55%),
    var(--bg-soft);
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  padding: clamp(48px, 8vw, 96px);
  text-align: center;
}

.privacy-chip {
  display: inline-block;
  background: rgba(244, 240, 232, 0.08);
  border: 1px solid rgba(244, 240, 232, 0.2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 980px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.privacy-card h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.privacy-card p {
  max-width: 560px;
  margin: 0 auto;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-dim);
}

.privacy-points {
  list-style: none;
  max-width: 560px;
  margin: 34px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-points li {
  position: relative;
  padding: 16px 20px 16px 46px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-dim);
}

.privacy-points li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(244, 240, 232, 0.1);
  color: var(--positive);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.privacy-points strong {
  color: var(--text);
  font-weight: 600;
}

/* ==========================================================================
   External & network storage
   ========================================================================== */

.storage {
  text-align: center;
}

.storage-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  background:
    radial-gradient(120% 160% at 15% 0%, rgba(244, 240, 232, 0.065), transparent 55%),
    radial-gradient(120% 160% at 95% 100%, rgba(244, 240, 232, 0.04), transparent 55%),
    var(--bg-soft);
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  padding: clamp(40px, 6vw, 72px);
}

.storage-copy h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin-bottom: 14px;
}

.storage-lead {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 28px;
  max-width: 520px;
}

.storage-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.storage-points li {
  position: relative;
  padding-left: 30px;
  font-size: var(--fs-body);
  color: var(--text-faint);
  line-height: 1.6;
}

.storage-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad-accent);
  opacity: 0.9;
}

.storage-points li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.storage-points strong {
  color: var(--text);
  font-weight: 600;
}

.storage-compare {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--panel-border);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 520px;
}

/* visual panel */
.storage-visual {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.storage-big {
  font-size: var(--fs-stat);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.storage-big-label {
  font-size: 16px;
  color: var(--text-dim);
  margin-top: 8px;
}

.storage-meter {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin: 28px auto 0;
  max-width: 320px;
  overflow: hidden;
}

.storage-meter-fill {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  background: var(--grad-accent);
}

.storage-note {
  margin-top: 16px;
  font-size: var(--fs-body-sm);
  color: var(--text-faint);
}

/* ==========================================================================
   Performance stats
   ========================================================================== */

.performance {
  text-align: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: left;
}

.stat-value {
  font-size: var(--fs-stat);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-unit {
  font-size: 0.5em;
  font-weight: 600;
  -webkit-text-fill-color: var(--text-dim);
  color: var(--text-dim);
}

.stat-label {
  margin-top: 10px;
  font-size: var(--fs-body-sm);
  color: var(--text-dim);
}

.stat-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: var(--grad-accent);
}

.perf-note {
  margin: 36px auto 0;
  max-width: 680px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-dim);
}

/* ==========================================================================
   Contrast rows (used in compare table and elsewhere)
   ========================================================================== */

.vs-bad,
.vs-good {
  position: relative;
  padding-left: 28px;
  font-size: var(--fs-body);
  line-height: 1.6;
}

.vs-bad {
  color: var(--text-faint);
}

.vs-good {
  color: var(--text);
}

.vs-bad::before,
.vs-good::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.vs-bad::before {
  content: "✕";
  color: var(--negative);
  background: rgba(243, 239, 231, 0.08);
}

.vs-good::before {
  content: "✓";
  color: var(--positive);
  background: rgba(243, 239, 231, 0.12);
}

/* ==========================================================================
   Compare section
   ========================================================================== */

.compare {
  text-align: center;
}

.compare-table {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  padding: 28px 36px;
  text-align: left;
}

.compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--panel-border);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.compare-head span:nth-child(2) {
  color: var(--text);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-row:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Feature cards
   ========================================================================== */

.features {
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--icon-bg);
  margin-bottom: 18px;
  position: relative;
  opacity: 1;
}

/* simple glyphs for card icons */
.card-icon-video::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
   border-left: 12px solid var(--icon);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}

.card-icon-geo::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 20px;
   background: var(--icon);
  clip-path: path("M7 0a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 7 4.5a2.5 2.5 0 0 1 0 5z");
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
}

.card-icon-face::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
   background: var(--icon);
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
   box-shadow: 0 10px 0 -4px var(--icon), 0 10px 0 -2px transparent;
}

.card-icon-convert::after {
  content: "⇄";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
   color: var(--icon);
  font-weight: 700;
}

.card-icon-edit::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
   background: var(--icon);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1px;
   box-shadow: 0 0 0 5px rgba(214, 214, 209, 0.22);
}

.card-icon-tags::after {
  content: "#";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
   color: var(--icon);
  font-weight: 700;
}

.card h3 {
  font-size: var(--fs-sub);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.card p {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-dim);
}

/* additional card glyphs */
.card-icon-search::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
   border: 2px solid var(--icon);
  border-radius: 50%;
  left: 11px;
  top: 11px;
}

.card-icon-search::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 7px;
   background: var(--icon);
  right: 12px;
  bottom: 12px;
  transform: rotate(45deg);
  border-radius: 1px;
}

.card-icon-ocr::after {
  content: "Aa";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
   color: var(--icon);
}

.card-icon-wallpaper::after {
  content: "";
  position: absolute;
  inset: 9px;
   border: 2px solid var(--icon);
  border-radius: 4px;
   box-shadow: inset 0 8px 0 rgba(214, 214, 209, 0.28);
}

.card-icon-autoplay::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 50%;
  height: 2px;
   background: var(--icon);
  border-radius: 1px;
}

.card-icon-autoplay::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
   border-top: 2px solid var(--icon);
   border-right: 2px solid var(--icon);
  transform: rotate(45deg);
  top: 50%;
  margin-top: -3px;
  right: 10px;
}

/* ==========================================================================
   Pinned media sections (Video / Screenshot)
   ========================================================================== */

.media-section {
  max-width: none;
  margin: 0;
  padding: 0;
}

.media-pin {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  max-width: 1080px;
  width: 100%;
}

.media-copy .eyebrow {
  margin-bottom: 14px;
}

.media-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.media-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.media-points li {
  font-size: var(--fs-body);
  color: var(--text-faint);
  line-height: 1.6;
  padding-left: 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.media-points li.is-active {
  color: var(--text-dim);
  border-left-color: var(--accent);
}

.media-points strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

.media-visual {
  display: flex;
  justify-content: center;
}

/* ----- video player mock ----- */
.video-player {
  width: min(520px, 100%);
  background: #141416;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}

.video-player-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-player-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.video-player-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.video-player-play span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
}

.video-player-play span::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
   border-left: 17px solid var(--text);
   border-top: 10px solid transparent;
   border-bottom: 10px solid transparent;
   margin-left: 4px;
}

.video-player-bar {
  padding: 14px 18px 18px;
}

.video-player-progress {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  margin-bottom: 14px;
}

.vpp-played {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
}

.vpp-loop {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 0%;
  width: 0%;
  background: rgba(243, 239, 231, 0.13);
  border: 1px dashed rgba(243, 239, 231, 0.55);
  border-radius: 3px;
}

.vpp-marker {
  position: absolute;
  top: -8px;
  margin-left: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.vpp-a { left: 0%; }
.vpp-b { left: 0%; }

.video-player-controls {
  display: flex;
  gap: 10px;
  color: var(--text-dim);
}

.vc {
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ----- screenshot mock ----- */
.shot-stage {
  position: relative;
  width: min(520px, 100%);
}

.shot-screen {
  position: relative;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}

.shot-screen img {
  width: 100%;
  display: block;
}

.shot-select {
  position: absolute;
  inset: 18% 26% 30% 20%;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: rgba(243, 239, 231, 0.07);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
}

.shot-select::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  border-radius: 3px;
  background: #fff;
}

.shot-tools {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(28, 28, 31, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.st {
  font-size: 12px;
  color: var(--text);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.shot-hotkey {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(28, 28, 31, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.shot-ocr {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  background: rgba(243, 239, 231, 0.09);
  border: 1px solid rgba(243, 239, 231, 0.22);
  color: var(--text);
  font-size: 13px;
  border-radius: 980px;
  padding: 7px 16px;
  white-space: nowrap;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
  text-align: center;
}

.cta-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-faint);
}

.cta-note-placeholder {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-faint);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 24px 64px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-note {
  width: 100%;
  font-size: 12px;
  color: var(--text-faint);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-stage {
    margin-top: 48px;
  }

  .window-mini-a {
    right: -4%;
  }

  .window-mini-b {
    left: -2%;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .storage-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .media-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .media-row-reverse .media-copy {
    order: 2;
  }

  .media-row-reverse .media-visual {
    order: 1;
  }

  .compare-head,
  .compare-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .compare-head {
    display: none;
  }

  .compare-table {
    padding: 24px 22px;
  }

  .compare-row {
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 90px 18px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .stage-screens {
    width: 96vw;
  }

  .stage-screen .window-frame {
    width: 96vw;
  }
}

/* ==========================================================================
   Reduced motion — JS disables animation too, this is a CSS safety net
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .search-caret {
    animation: none;
  }
}
