/* RemoteCap product page — same look as the JustSampleTools home page. */
:root {
    --bg: #12100b;
    --surface: #1a1712;
    --raised: #211d16;
    --line: rgba(243, 239, 231, 0.09);
    --text: #f3efe7;
    --dim: #a79e8d;
    --amber: #ffb253;
    --live: #7ed9a0;
    --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'IBM Plex Sans', 'Noto Sans TC', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

body:lang(zh-TW) { line-height: 1.8; }

.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }

a { color: var(--amber); }

a:focus-visible, summary:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Top bar ── */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 28px 0 0;
}

.wordmark {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--text);
    text-decoration: none;
}

.wordmark span { color: var(--amber); }

.lang {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: var(--dim);
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 4px 12px;
    white-space: nowrap;
}

.lang:hover { color: var(--text); border-color: var(--dim); }

/* ── Hero ── */
.hero { padding: 72px 0 40px; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid rgba(126, 217, 160, 0.35);
    color: var(--live);
}

.chip::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 22px 0 18px;
}

.brand img {
    width: 64px;
    height: 64px;
    border-radius: 17px;
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.brand .name {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-stretch: 108%;
    font-size: 1.5rem;
}

h1 {
    font-family: 'Archivo', 'Noto Sans TC', sans-serif;
    font-weight: 850;
    font-stretch: 110%;
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 em { font-style: normal; color: var(--amber); }

.lead {
    margin-top: 22px;
    font-size: 1.08rem;
    color: var(--dim);
    max-width: 62ch;
}

.lead strong { color: var(--text); font-weight: 500; }

.cta-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    background: var(--text);
    color: var(--bg);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    background: #fff;
}

.note {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--dim);
}

.shot {
    margin-top: 44px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.shot img { display: block; width: 100%; height: auto; }

/* ── Sections ── */
section { padding: 56px 0 0; }

h2 {
    font-family: 'Archivo', 'Noto Sans TC', sans-serif;
    font-weight: 800;
    font-stretch: 108%;
    font-size: 1.6rem;
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin-bottom: 18px;
}

section > p { color: var(--dim); max-width: 64ch; }

.steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 14px;
}

.steps li {
    counter-increment: step;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 20px 18px 64px;
    position: relative;
    color: var(--dim);
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 17px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 178, 83, 0.5);
    color: var(--amber);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps strong, .tiers strong { color: var(--text); font-weight: 600; }

.tiers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.tier {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
}

.tier.pro { border-color: rgba(255, 178, 83, 0.3); }

.tier h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 14px;
}

.tier.pro h3 { color: var(--amber); }

.tier ul { list-style: none; display: grid; gap: 10px; }

.tier li {
    color: var(--dim);
    font-size: 0.95rem;
    padding-left: 18px;
    position: relative;
}

.tier li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid var(--amber);
}

.tier .fine { margin-top: 16px; font-size: 0.85rem; color: var(--dim); }

.video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
}

.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── FAQ ── */
.faq { display: grid; gap: 12px; }

.faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 22px;
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 28px 18px 0;
    font-weight: 600;
    position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 15px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    color: var(--amber);
}

.faq details[open] summary::after { content: '–'; }

.faq details > div { padding: 0 0 20px; color: var(--dim); }

.faq details > div p + p { margin-top: 10px; }

/* ── Footer ── */
footer {
    border-top: 1px solid var(--line);
    margin-top: 80px;
    padding: 40px 0 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    color: var(--dim);
}

footer nav { display: flex; gap: 22px; flex-wrap: wrap; }

footer a { color: var(--dim); text-decoration: none; }

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

@media (max-width: 680px) {
    .tiers { grid-template-columns: 1fr; }
    .hero { padding: 52px 0 32px; }
}
