:root {
    --bg: #0b0b0e;
    --card: #111114;
    --accent: #b2a5ff;
    --accent-hi: #9e8efa;
    --text: #e6e6eb;
    --muted: #9a9ab0;
    --dim: #6a6a74;
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(178, 165, 255, 0.28);
    --danger: #e8605a;
    --success: #32b868;
    --warn: #e8c040;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font: 13px/1.5 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }

::selection { background: rgba(178, 165, 255, 0.30); color: var(--text); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.10); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(178, 165, 255, 0.30); }

.gw-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 16px 28px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gw-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.gw-banner {
    padding: 22px 26px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 26px;
    height: 26px;
    background-color: var(--accent);
    background-image: url("ag.webp");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    border-radius: 2px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
}
.brand-sub {
    font-size: 7.5px;
    letter-spacing: 2.5px;
    color: var(--dim);
    text-transform: uppercase;
    margin-top: 3px;
}

.gw-body { padding: 24px 26px 26px; }

.gw-eyebrow {
    font: 700 10px ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.gw-hero h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.35;
    margin-bottom: 12px;
}

.gw-hero p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.gw-cta {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

.btn {
    font: 700 11px ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
    letter-spacing: 1px;
    border-radius: 2px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: #0e0e12;
    border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: #0e0e12; }

.btn-ghost {
    color: var(--accent);
    border: 1px solid rgba(178, 165, 255, 0.30);
    background: transparent;
}
.btn-ghost:hover { background: var(--accent); color: #0e0e12; }

.section {
    border-top: 1px solid var(--border);
    padding-top: 22px;
    margin-top: 22px;
}

.section h2 {
    font: 700 11px ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
}

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

.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 30px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-strong);
    color: var(--accent);
    font: 700 10px ui-monospace, Menlo, Consolas, monospace;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps li strong { color: var(--text); display: block; margin-bottom: 3px; font-weight: 700; }

.mirror-card {
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
}
.mirror-label {
    font: 700 9px ui-monospace, Menlo, Consolas, monospace;
    letter-spacing: 1.5px;
    color: var(--dim);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.mirror-url {
    font: 12px ui-monospace, Menlo, Consolas, monospace;
    color: var(--accent);
    word-break: break-all;
}

.faq-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.faq-answer {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.65;
}

.lang-picker {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.lang-flag {
    font-size: 20px;
    opacity: 0.5;
    transition: opacity 0.12s ease, transform 0.12s ease;
}
.lang-flag.active { opacity: 1; }
.lang-flag:hover { opacity: 1; transform: translateY(-1px); }

.warn-line {
    font-size: 11px;
    color: var(--warn);
    border: 1px solid rgba(232, 192, 64, 0.35);
    background: rgba(232, 192, 64, 0.06);
    border-radius: 2px;
    padding: 10px 12px;
    margin-top: 14px;
    line-height: 1.6;
}

.gw-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px 10px;
    margin-top: 20px;
    padding: 0 6px;
    font: 10px ui-monospace, Menlo, Consolas, monospace;
    letter-spacing: 1.5px;
    color: var(--dim);
    text-transform: uppercase;
    text-align: center;
}
.gw-foot .brand-line { color: var(--muted); }
.gw-foot .sep { color: var(--border-strong); }
.gw-foot a { color: var(--muted); }
.gw-foot a:hover { color: var(--accent); }

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .gw-hero h1 { font-size: 26px; }
}

@media (max-width: 480px) {
    .gw-cta { flex-direction: column; }
    .btn { width: 100%; }
    .mirror-card { flex-direction: column; align-items: stretch; }
    .mirror-card .btn { width: 100%; }
}
