/* PC Control Relay — product page */
:root {
  --bg: #081018;
  --bg-2: #0f1a26;
  --ink: #f3f7fb;
  --muted: #8fa3b8;
  --line: rgba(255, 255, 255, 0.1);
  --teal: #2ec4b6;
  --teal-soft: rgba(46, 196, 182, 0.16);
  --coral: #ff7a45;
  --coral-soft: rgba(255, 122, 69, 0.16);
  --sky: #5eb8ff;
  --max: 1120px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ── Top bar ─────────────────────────────────────────── */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding: 1.25rem 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-mark span { color: var(--teal); }
.top-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}
.top-link:hover { color: var(--ink); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #060d14;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.05);
  animation: hero-drift 16s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, -1%, 0); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 13, 20, 0.96) 0%, rgba(6, 13, 20, 0.78) 46%, rgba(6, 13, 20, 0.35) 100%),
    linear-gradient(180deg, rgba(6, 13, 20, 0.4) 0%, rgba(6, 13, 20, 0.12) 38%, rgba(6, 13, 20, 0.94) 100%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(46, 196, 182, 0.18), transparent 60%);
  z-index: 1;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 4.5rem;
  max-width: 36rem;
  animation: rise 0.9s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.55rem, 6.2vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 1.1rem;
}
.hero-brand em {
  font-style: normal;
  color: var(--teal);
  display: block;
  font-weight: 600;
}
.hero-lead {
  margin: 0 0 1.75rem;
  color: #c7d5e3;
  font-size: 1.08rem;
  max-width: 30rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.4rem;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-coral {
  background: var(--coral);
  color: #1a0c06;
}
.btn-coral:hover { background: #ff8d5e; }
.btn-teal {
  background: var(--teal);
  color: #04221f;
}
.btn-teal:hover { background: #3fd4c6; }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--ink);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.55); }

/* ── Sections ────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}
.section-muted {
  background:
    radial-gradient(ellipse 55% 45% at 8% 0%, var(--teal-soft), transparent 55%),
    radial-gradient(ellipse 40% 40% at 95% 80%, var(--coral-soft), transparent 50%),
    var(--bg-2);
}
.section-coral {
  background:
    radial-gradient(ellipse 50% 45% at 90% 0%, var(--coral-soft), transparent 55%),
    var(--bg);
}
.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.7rem;
}
.kicker-coral { color: var(--coral); }
h2 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}
.section-head h2 { max-width: 24ch; }
.cta-band h2 { max-width: none; }
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── Explain strip ───────────────────────────────────── */
.explain-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.explain-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}
.explain-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.dot-coral {
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-soft);
}
.explain-points strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}
.explain-points span {
  color: var(--muted);
  font-size: 0.95rem;
}
.media-frame {
  display: block;
  overflow: hidden;
  border-radius: 0.35rem;
  border: 1px solid var(--line);
  background: #000;
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.media-frame:hover img { transform: scale(1.03); }

/* ── Audience cards (interaction containers) ─────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.audience-grid-wide {
  grid-template-columns: repeat(3, 1fr);
}
.audience-card {
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.audience-card:hover {
  border-color: rgba(46, 196, 182, 0.45);
  transform: translateY(-2px);
}
.audience-card-feature {
  border-color: rgba(46, 196, 182, 0.35);
  background:
    linear-gradient(145deg, rgba(46, 196, 182, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.03);
}
.audience-card-feature:nth-child(2) {
  border-color: rgba(255, 122, 69, 0.4);
  background:
    linear-gradient(145deg, rgba(255, 122, 69, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.03);
}
.audience-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 650;
}
.audience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.use-tagline {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}
.use-tagline strong {
  color: var(--ink);
}

/* ── Photo strip ─────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.85rem;
}
.photo-strip .media-frame:first-child img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.photo-strip .media-frame img {
  aspect-ratio: 4 / 3;
}

/* ── Connection steps ────────────────────────────────── */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.connect-item {
  padding-top: 0.35rem;
  border-top: 2px solid var(--teal);
}
.connect-item h3 {
  margin: 0.85rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
}
.connect-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Specs ───────────────────────────────────────────── */
.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.specs th,
.specs td {
  text-align: left;
  padding: 0.95rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.specs th {
  width: 34%;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.specs td { color: var(--ink); font-weight: 550; }
.specs tr:last-child th,
.specs tr:last-child td { border-bottom: 0; }

/* ── Guide steps ─────────────────────────────────────── */
.guide-part {
  margin: 2rem 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.guide-part:first-of-type { margin-top: 0.35rem; }
.guide-part-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a0c06;
  background: var(--coral);
  padding: 0.22rem 0.5rem;
  border-radius: 0.25rem;
}
.guide-step {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.75rem;
  align-items: center;
  padding: 1.15rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
}
.guide-num {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--teal);
  line-height: 1;
}
.guide-copy h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.guide-copy ol {
  margin: 0;
  padding-left: 1.15rem;
  color: #d5dde8;
  font-size: 0.98rem;
}
.guide-copy li { margin: 0.4rem 0; }
.guide-note {
  margin: 0.9rem 0 0;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
  color: #c9d2de;
  font-size: 0.9rem;
}
.guide-shot {
  overflow: hidden;
  border-radius: 0.4rem;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}
.guide-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.guide-shot-ui {
  background: #0a1018;
  border-color: rgba(94, 184, 255, 0.28);
}
.guide-shot-ui img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: top center;
  background: #0a1018;
}

/* ── Timing callout ──────────────────────────────────── */
.timing-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 122, 69, 0.35);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 122, 69, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.02);
}
.timing-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--coral);
  letter-spacing: -0.03em;
  white-space: nowrap;
  animation: pulse-soft 2.4s ease-in-out infinite;
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}
.timing-box h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
}
.timing-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ── Split feature ───────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.pill {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  color: #d5dde8;
}

/* ── CTA band ────────────────────────────────────────── */
.cta-band {
  padding: 4.5rem 0 5.5rem;
  text-align: center;
  background:
    linear-gradient(180deg, transparent, rgba(46, 196, 182, 0.08)),
    var(--bg);
}
.cta-band h2 { margin-bottom: 0.7rem; }
.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 30rem;
  color: var(--muted);
}
.cta-band .cta-row { justify-content: center; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ── Reveal on scroll ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .explain-grid,
  .split,
  .audience-grid,
  .audience-grid-wide,
  .connect-grid,
  .photo-strip {
    grid-template-columns: 1fr;
  }
  .split.reverse { direction: ltr; }
  .hero-media img { object-position: 70% center; }
  .hero-copy { max-width: 100%; padding-bottom: 3.25rem; }
  .guide-step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .timing-box {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .section-head h2 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .timing-badge { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-copy { animation: none; }
  .media-frame img { transition: none; }
}
