:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-yellow: #d4aa14;
    --accent-yellow-light: #f0c928;
    --card-dark: #111116;
    --card-dark-2: #1e1e26;
    --muted: #a5a5ad;
    --body-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --logo-font: 'Roboto', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--body-font);
    background:
        radial-gradient(circle at 50% -10%, rgba(212,170,20,.10), transparent 35%),
        var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: inherit; }

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,.95);
    border-bottom: 1px solid rgba(255,255,255,.05);
    backdrop-filter: blur(8px);
}

.logo {
    font-family: var(--logo-font);
    font-size: 2.5rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-color);
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

.logo span { color: var(--accent-yellow); }

.header-label {
    color: #888;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.guide-container {
    max-width: 900px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.hero {
    text-align: center;
    padding: 48px 30px 42px;
    background: linear-gradient(145deg, #1e1e26 0%, #0b0b0e 100%);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0,0,0,.45);
}

.badge, .step-tag {
    display: inline-block;
    color: var(--accent-yellow-light);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.hero h1 {
    font-family: var(--logo-font);
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    line-height: 1.1;
    margin: 14px 0 18px;
}

.hero h1 span { color: var(--accent-yellow); }

.hero p {
    max-width: 680px;
    margin: auto;
    color: #d1d1d1;
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 900;
    transition: .2s ease;
    border: 1px solid rgba(255,255,255,.1);
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.btn-primary {
    background: var(--accent-yellow);
    color: #080808;
}

.btn-secondary {
    background: #202026;
    color: #fff;
}

.btn.small {
    font-size: .95rem;
    padding: 10px 16px;
    margin: 8px 0 20px;
}

.notice, .tip {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 22px 0;
    padding: 17px 19px;
    background: rgba(212,170,20,.08);
    border-left: 3px solid var(--accent-yellow);
    border-radius: 8px;
}

.notice {
    display: block;
    margin-top: 22px;
}

.notice strong, .tip strong {
    color: var(--accent-yellow-light);
}

.notice p { color: #d1d1d1; margin-top: 3px; }

.progress-box {
    margin: 26px 0;
    padding: 18px 20px;
    background: #0c0c10;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
}

.progress-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-top span { color: #999; font-size: .9rem; }

.progress-track {
    height: 7px;
    background: #24242a;
    border-radius: 20px;
    overflow: hidden;
}

#progressBar {
    width: 0;
    height: 100%;
    background: var(--accent-yellow);
    transition: width .35s ease;
}

.steps { display: grid; gap: 18px; }

.step {
    position: relative;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: 28px;
    background: linear-gradient(145deg, #1a1a20 0%, #0c0c10 100%);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 16px;
    transition: .25s ease;
}

.step.completed {
    border-color: rgba(212,170,20,.45);
}

.step-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-yellow);
    color: #090909;
    font-family: var(--logo-font);
    font-size: 1.25rem;
    font-weight: 900;
}

.step.completed .step-number::after {
    content: "✓";
}

.step.completed .step-number {
    font-size: 0;
}

.step-content h2 {
    font-family: var(--logo-font);
    font-size: 1.65rem;
    margin: 4px 0 9px;
}

.step-content p {
    color: #d1d1d1;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.screenshot {
    margin: 12px 0 20px;
    text-align: center;
}

.screenshot img {
    display: block;
    max-width: 100%;
    max-height: 360px;
    margin: auto;
    border-radius: 9px;
    cursor: zoom-in;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

.screenshot-small img { max-height: 460px; }

figcaption {
    color: #777;
    font-size: .86rem;
    margin-top: 8px;
}

.device-box, .test-grid {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.device-box {
    grid-template-columns: repeat(3, 1fr);
}

.device-box div, .test-grid div {
    padding: 13px;
    text-align: center;
    background: #18181e;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 9px;
    color: #ddd;
}

.test-grid {
    grid-template-columns: repeat(3, 1fr);
}

.complete-btn {
    border: 1px solid rgba(212,170,20,.35);
    background: transparent;
    color: var(--accent-yellow-light);
    padding: 9px 14px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 700;
}

.complete-btn:hover {
    background: rgba(212,170,20,.1);
}

.summary, .links {
    margin-top: 26px;
    padding: 28px;
    background: linear-gradient(145deg, #1e1e26 0%, #0b0b0e 100%);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 16px;
}

.summary h2, .links h2 {
    font-family: var(--logo-font);
    margin-bottom: 18px;
}

.summary-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #ddd;
}

.summary-flow span {
    padding: 7px 10px;
    background: #18181e;
    border-radius: 7px;
    font-size: .9rem;
}

.summary-flow b { color: var(--accent-yellow); }

.links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    margin-top: 10px;
    text-decoration: none;
    background: #15151b;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
    transition: .2s;
}

.links a:hover { border-color: rgba(212,170,20,.4); }

.links a > span { font-size: 1.5rem; }

.links strong { display: block; }

.links small {
    display: block;
    color: #888;
    margin-top: 2px;
}

footer {
    padding: 40px;
    text-align: center;
    color: #666;
    background: #0b0b0e;
    border-top: 1px solid rgba(255,255,255,.05);
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    padding: 30px;
    background: rgba(0,0,0,.9);
    z-index: 3000;
}

.lightbox.active { display: grid; }

.lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 25px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

@media (max-width: 700px) {
    header { padding: 15px 20px; }
    .logo { font-size: 2rem; }
    .header-label { display: none; }
    .guide-container { margin-top: 92px; padding: 0 14px; }
    .hero { padding: 34px 20px; }
    .step { grid-template-columns: 1fr; padding: 22px; }
    .step-number { margin-bottom: -4px; }
    .device-box, .test-grid { grid-template-columns: 1fr; }
    .summary-flow b { display: none; }
}
