/* ==========================================================================
   Multi Player — public website
   Self-contained premium dark streaming theme. No external CDN / fonts / JS.
   Accent violet #6C5CE7, secondary cyan #00D2FF.
   ========================================================================== */

:root {
    --violet: #6C5CE7;
    --violet-600: #5a4bd6;
    --violet-300: #9b8dff;
    --cyan: #00D2FF;
    --cyan-600: #04b3da;

    --bg: #0a0a12;
    --bg-2: #0e0e1a;
    --surface: #14142200;      /* used only via rgba below */
    --card: rgba(255, 255, 255, 0.035);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-strong: rgba(255, 255, 255, 0.14);

    --text: #eef0f6;
    --muted: #a9adc0;
    --muted-2: #7c8098;
    --danger: #ff5c74;
    --success: #33d69f;
    --warn: #ffb454;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 26px;
    --maxw: 1180px;

    --grad-brand: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
    --grad-text: linear-gradient(120deg, #ffffff 0%, #cdbcff 45%, var(--cyan) 100%);
    --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 60px -12px rgba(108, 92, 231, 0.55);

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 17px;
    letter-spacing: 0.1px;
    overflow-x: hidden;
    background-image:
        radial-gradient(1000px 600px at 15% -10%, rgba(108, 92, 231, 0.22), transparent 60%),
        radial-gradient(900px 600px at 100% 0%, rgba(0, 210, 255, 0.12), transparent 55%);
    background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: var(--violet-300); text-decoration: none; transition: color .18s ease; }
a:hover { color: #fff; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 820px; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--violet); color: #fff;
    padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

.eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: .18em;
    font-size: .72rem; font-weight: 700; color: var(--cyan);
    margin: 0 0 .9rem;
}
.accent { color: var(--violet-300); }
.subtle { color: var(--muted-2); font-size: .92rem; }

/* -------- Buttons -------- */
.btn {
    --btn-bg: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    font: inherit; font-weight: 600; font-size: .98rem;
    padding: .78em 1.4em; border-radius: 999px; border: 1px solid transparent;
    cursor: pointer; text-align: center; white-space: nowrap;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.btn-lg { padding: .95em 1.8em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 30px -10px rgba(108, 92, 231, .7); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 40px -12px rgba(108, 92, 231, .85); }
.btn-outline { border-color: var(--card-border-strong); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { color: #fff; border-color: var(--violet-300); background: rgba(108, 92, 231, .12); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .05); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.btn-danger { background: linear-gradient(135deg, #ff5c74, #d93a63); color: #fff; box-shadow: 0 10px 30px -12px rgba(255, 92, 116, .6); }
.btn-danger:hover { color: #fff; }

.badge {
    display: inline-flex; align-items: center; padding: .34em .8em; border-radius: 999px;
    font-size: .78rem; font-weight: 600; letter-spacing: .02em;
    background: rgba(255, 255, 255, .06); border: 1px solid var(--card-border); color: var(--muted);
}
.badge.muted { color: var(--muted-2); }
.pill {
    display: inline-block; margin-top: .8rem; padding: .3em .8em; border-radius: 999px;
    font-size: .78rem; font-weight: 600; color: var(--cyan);
    background: rgba(0, 210, 255, .1); border: 1px solid rgba(0, 210, 255, .25);
}

/* -------- Header -------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: saturate(160%) blur(14px);
    background: rgba(10, 10, 18, .72);
    border-bottom: 1px solid var(--card-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: .6em; color: #fff; font-weight: 700; }
.brand:hover { color: #fff; }
.brand-logo { border-radius: 8px; }
.brand-name { font-size: 1.12rem; letter-spacing: -0.01em; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); font-weight: 500; font-size: .96rem; }
.site-nav a:hover, .site-nav a.is-active { color: #fff; }
.site-nav a.is-active { position: relative; }
.site-nav a.is-active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px;
    background: var(--grad-brand);
}

.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* -------- Sections -------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .015), rgba(255, 255, 255, 0)); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-lead { color: var(--muted); font-size: 1.1rem; }
.section-cta { text-align: center; margin-top: 42px; }

.card {
    background: var(--card); border: 1px solid var(--card-border);
    border-radius: var(--radius); backdrop-filter: blur(6px);
}

/* -------- Hero -------- */
.hero { position: relative; padding: clamp(60px, 9vw, 120px) 0 40px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero-glow {
    position: absolute; z-index: 0; inset: -30% -10% auto -10%; height: 620px; pointer-events: none;
    background:
        radial-gradient(560px 320px at 25% 20%, rgba(108, 92, 231, .5), transparent 70%),
        radial-gradient(520px 320px at 80% 10%, rgba(0, 210, 255, .32), transparent 70%);
    filter: blur(10px); opacity: .8;
}
.hero-title { margin-bottom: .35em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 16px; }
.hero-note { color: var(--muted-2); font-size: .9rem; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.hero-mock {
    position: relative; z-index: 2; margin-top: 54px; border-radius: var(--radius-lg);
    border: 1px solid var(--card-border-strong); background: linear-gradient(180deg, #12122200, #0c0c16);
    box-shadow: var(--shadow), var(--shadow-glow); overflow: hidden;
}
.mock-bar { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--card-border); background: rgba(255, 255, 255, .02); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.mock-bar span:first-child { background: #ff5f57; } .mock-bar span:nth-child(2) { background: #febc2e; } .mock-bar span:nth-child(3) { background: #28c840; }
.mock-body { display: flex; min-height: 320px; }
.mock-rail { width: 74px; border-right: 1px solid var(--card-border); background: rgba(255, 255, 255, .02); }
.mock-content { flex: 1; padding: 22px; }
.mock-hero { height: 150px; border-radius: 14px; background: linear-gradient(120deg, rgba(108, 92, 231, .5), rgba(0, 210, 255, .28)); margin-bottom: 20px; }
.mock-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 14px; }
.mock-row i { height: 92px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--card-border); }

/* -------- Stats -------- */
.stats { padding: 10px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); border: 1px solid var(--card-border); background: var(--card); }
.stat-value { font-size: 1.9rem; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* -------- Feature grid -------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 28px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--card-border-strong); box-shadow: var(--shadow); }
.feature-icon {
    width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, rgba(108, 92, 231, .35), rgba(0, 210, 255, .2));
    border: 1px solid var(--card-border-strong);
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: .35em; }
.feature-card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* -------- Steps -------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps-lg { gap: 26px; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--card-border); background: var(--card); }
.step-num {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.15rem; color: #fff; background: var(--grad-brand);
    box-shadow: 0 8px 20px -8px rgba(108, 92, 231, .8);
}
.step-body h3 { margin-bottom: .25em; }
.step-body p { color: var(--muted); margin: 0; }
.steps-compact .step { padding: 16px 18px; }
.steps-compact .step-num { width: 38px; height: 38px; font-size: 1rem; }

/* -------- Split -------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-body h2 { margin-bottom: .5em; }
.split-body p { color: var(--muted); }
.ticks { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks .icon { color: var(--cyan); flex: 0 0 auto; margin-top: 2px; }
.ticks span { color: var(--text); }

/* -------- TV frame -------- */
.tv-frame { max-width: 420px; margin: 0 auto; }
.tv-screen {
    aspect-ratio: 16 / 10; border-radius: 18px; border: 1px solid var(--card-border-strong);
    background: radial-gradient(circle at 50% 40%, rgba(108, 92, 231, .3), #0b0b16 70%);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    box-shadow: var(--shadow), inset 0 0 60px rgba(0, 0, 0, .5);
}
.tv-screen p { margin: 0; color: var(--muted); font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; }
.tv-qr { width: 132px; height: 132px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; padding: 12px; background: #fff; border-radius: 12px; }
.tv-qr i { background: #0a0a12; border-radius: 1px; }
.tv-qr i:nth-child(3n), .tv-qr i:nth-child(5n) { background: transparent; }
.tv-qr i:nth-child(7n) { background: var(--violet); }
.tv-stand { width: 120px; height: 12px; margin: 12px auto 0; border-radius: 0 0 10px 10px; background: rgba(255, 255, 255, .08); }

/* -------- Accordion (CSS/JS, no library) -------- */
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--card-border); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; }
.acc-item[open] { border-color: var(--card-border-strong); }
.acc-item summary {
    list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between;
    gap: 16px; font-weight: 600; font-size: 1.05rem; color: var(--text);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { color: #fff; }
.acc-mark { position: relative; flex: 0 0 auto; width: 20px; height: 20px; }
.acc-mark::before, .acc-mark::after { content: ""; position: absolute; background: var(--violet-300); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.acc-mark::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.acc-mark::after { top: 2px; left: 9px; width: 2px; height: 16px; }
.acc-item[open] .acc-mark::after { transform: rotate(90deg); opacity: 0; }
.acc-panel { padding: 0 22px 20px; }
.acc-panel p { color: var(--muted); margin: 0; }

/* -------- CTA band -------- */
.cta-band {
    position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 6vw, 72px);
    border-radius: var(--radius-lg); border: 1px solid var(--card-border-strong);
    background: linear-gradient(135deg, rgba(108, 92, 231, .18), rgba(0, 210, 255, .1));
}
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }
.cta-band-glow { position: absolute; inset: auto -10% -60% -10%; height: 300px; background: radial-gradient(500px 200px at 50% 0, rgba(108, 92, 231, .5), transparent 70%); pointer-events: none; }

/* -------- Page hero / prose -------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 24px; }
.page-hero h1 { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; color: #fff; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--text); }

/* -------- Legal -------- */
.legal-hero { padding: clamp(48px, 7vw, 84px) 0 0; }
.legal-hero h1 { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal-updated { color: var(--muted-2); font-size: .92rem; }
.legal h2 { font-size: 1.4rem; }

/* -------- Mini grid (features extra) -------- */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mini { padding: 22px; border-radius: var(--radius); border: 1px solid var(--card-border); background: var(--card); }
.mini h4 { margin: 0 0 .4em; font-size: 1.02rem; }
.mini p { color: var(--muted); margin: 0; font-size: .93rem; }

/* -------- Panel / form illustration -------- */
.panel-illustration, .form-illustration { padding: 26px; border-radius: var(--radius); border: 1px solid var(--card-border-strong); background: var(--card); box-shadow: var(--shadow); }
.pi-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pi-row b { width: 62px; color: var(--muted); font-weight: 600; font-size: .85rem; }
.pi-bar { height: 12px; border-radius: 999px; background: var(--grad-brand); flex: 1; }
.form-illustration .fi-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.fi-tabs span { padding: .4em .8em; border-radius: 8px; font-size: .82rem; color: var(--muted); border: 1px solid var(--card-border); }
.fi-tabs .on { color: #fff; background: rgba(108, 92, 231, .25); border-color: var(--violet-300); }
.fi-field { margin-bottom: 14px; }
.fi-field label { display: block; font-size: .78rem; color: var(--muted-2); margin-bottom: 6px; }
.fi-input { height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--card-border); }
.fi-btn { margin-top: 18px; text-align: center; padding: .7em; border-radius: 10px; background: var(--grad-brand); color: #fff; font-weight: 600; }

/* -------- Devices -------- */
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card { padding: 30px; text-align: left; }
.device-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, rgba(108, 92, 231, .4), rgba(0, 210, 255, .22)); border: 1px solid var(--card-border-strong); }
.device-icon .icon { width: 28px; height: 28px; }
.device-card p { color: var(--muted); }

/* -------- Tables -------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--card-border); }
.req-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.req-table th, .req-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--card-border); }
.req-table thead th { background: rgba(255, 255, 255, .03); color: var(--text); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.req-table td { color: var(--muted); }
.req-table tr:last-child td { border-bottom: none; }

/* -------- Download -------- */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.download-card { padding: 32px 28px; text-align: center; scroll-margin-top: 90px; }
.download-icon { width: 62px; height: 62px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; color: #fff; background: var(--grad-brand); box-shadow: 0 12px 30px -12px rgba(108, 92, 231, .8); }
.download-icon .icon { width: 30px; height: 30px; }
.download-req { color: var(--muted); font-size: .95rem; margin-bottom: .3em; }
.download-ver { color: var(--cyan); font-size: .85rem; font-weight: 600; margin-bottom: 1.2em; }
.download-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.notice { padding: 26px; border-radius: var(--radius); border: 1px solid var(--card-border); background: var(--card); }
.notice p:last-child { margin-bottom: 0; }
.notice-warn { border-color: rgba(255, 180, 84, .3); background: rgba(255, 180, 84, .06); }
.notice-warn h2 { color: var(--warn); font-size: 1.25rem; }

/* -------- Forms -------- */
.form-layout { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.form-side h2 { font-size: 1.4rem; }
.contact-list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, rgba(108, 92, 231, .4), rgba(0, 210, 255, .22)); border: 1px solid var(--card-border-strong); }
.contact-list .ci .icon { width: 20px; height: 20px; }
.contact-list div { color: var(--muted); font-size: .95rem; }

.form { display: block; }
.form-card { padding: 28px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .92rem; color: var(--text); }
.field input, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--text);
    padding: .8em 1em; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .04); border: 1px solid var(--card-border);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--violet-300);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, .25); background: rgba(255, 255, 255, .06);
}
.field-check { display: flex; align-items: flex-start; gap: 12px; }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet); flex: 0 0 auto; }
.field-check label { margin: 0; font-weight: 500; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fine { color: var(--muted-2); font-size: .85rem; margin-top: 14px; }

.alert { padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; border: 1px solid transparent; }
.alert ul { margin: .4em 0 0; padding-left: 1.2em; }
.alert-success { background: rgba(51, 214, 159, .1); border-color: rgba(51, 214, 159, .35); color: #b8f4dd; }
.alert-success strong { color: var(--success); }
.alert-error { background: rgba(255, 92, 116, .1); border-color: rgba(255, 92, 116, .35); color: #ffd0d8; }
.alert-error strong { color: var(--danger); }

/* -------- Pairing -------- */
.pair-page { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 84px) 0 clamp(56px, 8vw, 100px); min-height: 70vh; display: flex; align-items: center; }
.pair-card { position: relative; z-index: 2; padding: clamp(28px, 5vw, 46px); text-align: center; box-shadow: var(--shadow); }
.pair-card h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.pair-card .page-lead { margin-left: auto; margin-right: auto; }
.pair-badge { width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--grad-brand); box-shadow: 0 12px 30px -12px rgba(108, 92, 231, .8); }
.pair-badge .icon { width: 32px; height: 32px; }
.pair-badge.warn { background: linear-gradient(135deg, #ffb454, #ff7a45); box-shadow: 0 12px 30px -12px rgba(255, 122, 69, .7); }
.pair-badge.ok { background: linear-gradient(135deg, #33d69f, #17b0c9); box-shadow: 0 12px 30px -12px rgba(51, 214, 159, .7); }
.pair-card .steps { text-align: left; margin: 26px 0; }
.pair-form { margin-top: 8px; }
.pair-card .btn-block { margin-top: 12px; }

.pair-code { margin: 24px auto; padding: 16px 22px; display: inline-flex; flex-direction: column; gap: 6px; border-radius: var(--radius); border: 1px dashed var(--violet-300); background: rgba(108, 92, 231, .1); }
.pair-code-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.pair-code-value { font-size: 2rem; font-weight: 800; letter-spacing: .18em; color: #fff; font-variant-numeric: tabular-nums; }

.profile-chooser { margin: 26px 0; padding: 22px; border-radius: var(--radius); border: 1px solid var(--card-border); background: rgba(255, 255, 255, .02); }
.chooser-title { font-weight: 600; margin-bottom: 14px; }
.profile-options { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.profile-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; border: 1px solid var(--card-border); background: rgba(255, 255, 255, .03); font-weight: 600; font-size: .95rem; }
.profile-chip .pa { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--violet), var(--cyan)); }
.profile-chip .pa .icon { width: 16px; height: 16px; }
.chooser-note { margin: 14px 0 0; }
.pair-expiry { margin-top: 14px; }
.pair-secure { display: flex; align-items: flex-start; gap: 10px; justify-content: center; text-align: left; margin-top: 24px; }
.pair-secure .icon { color: var(--cyan); flex: 0 0 auto; margin-top: 2px; width: 18px; height: 18px; }
.pair-help { margin: 22px 0 4px; }
.pair-help p { color: var(--muted); margin-bottom: 10px; }

/* -------- Footer -------- */
.site-footer { border-top: 1px solid var(--card-border); background: linear-gradient(180deg, rgba(255, 255, 255, .01), rgba(0, 0, 0, .2)); padding: 64px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 34px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-tagline { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.footer-fineprint { color: var(--muted-2); font-size: .82rem; max-width: 320px; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 0; padding: 0; }
.social a { color: var(--muted); font-size: .88rem; }
.footer-col h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--card-border); color: var(--muted-2); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted-2); }

/* -------- Responsive -------- */
@media (max-width: 960px) {
    .feature-grid, .mini-grid, .download-grid, .device-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 34px; }
    .split.reverse .split-media { order: 0; }
    .form-layout { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
    .nav-burger { display: flex; }
    .site-nav {
        position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
        background: rgba(12, 12, 22, .98); backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--card-border); padding: 12px 22px 22px;
        transform: translateY(-140%); transition: transform .28s ease; z-index: 90; max-height: calc(100vh - 68px); overflow-y: auto;
    }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .site-nav ul li { border-bottom: 1px solid var(--card-border); }
    .site-nav a { display: block; padding: 15px 4px; font-size: 1.05rem; }
    .site-nav a.is-active::after { display: none; }
    .nav-cta { margin-top: 16px; }
    .nav-toggle:checked ~ .site-nav { transform: translateY(0); }
    .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .feature-grid, .mini-grid, .download-grid, .device-grid, .stats-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .hero-actions .btn { width: 100%; }
    .mock-row { grid-template-columns: repeat(3, 1fr); }
    .mock-row i:nth-child(n+4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
