/* =========================================================
   Pixel Utility TOOL — theme stylesheet
   Lightweight: system fonts, no frameworks, ~1 file
   ========================================================= */

:root {
    --blue: #1a73e8;
    --blue-dark: #1557b0;
    --blue-light: #e8f0fe;
    --ink: #1f1f1f;
    --ink-soft: #444746;
    --muted: #5f6368;
    --line: #e0e3e7;
    --bg: #ffffff;
    --bg-alt: #f6f8fc;
    --radius: 14px;
    --shadow: 0 1px 3px rgba(60,64,67,.15), 0 4px 12px rgba(60,64,67,.08);
    --shadow-lg: 0 4px 8px rgba(60,64,67,.12), 0 12px 28px rgba(60,64,67,.15);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.25; color: var(--ink); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; padding: .7rem 1.5rem; border-radius: 999px;
    font-weight: 600; font-size: .95rem; cursor: pointer; border: 2px solid transparent;
    transition: background .15s, box-shadow .15s, color .15s; text-decoration: none !important;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-light); }
.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { box-shadow: var(--shadow-lg); }
.btn-sm { padding: .45rem 1.1rem; font-size: .88rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px); border-bottom: 1px solid transparent;
    transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 2px 8px rgba(60,64,67,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.site-brand:hover { text-decoration: none; }
.brand-mark { display: flex; align-items: center; }
.brand-logo-img { width: 34px; height: 34px; border-radius: 50%; display: block; object-fit: contain; }
.footer-logo-img { width: 30px; height: 30px; border-radius: 50%; display: block; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav ul.menu { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul.menu a { color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.main-nav ul.menu a:hover { color: var(--blue); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: .5rem; }
.nav-facebook-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f4fd;
    border: 1px solid #dce7fa;
    color: #1877F2;
    transition: all .2s ease;
    text-decoration: none !important;
}
.nav-facebook-btn:hover {
    background: #1877F2;
    border-color: #1877F2;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3);
}
.nav-facebook-btn:hover svg {
    fill: #ffffff;
}

.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(160deg, #f8fbff 0%, var(--blue-light) 60%, #e3edfd 100%);
    padding: 96px 0 88px; text-align: center;
}
.badge {
    display: inline-block; background: #fff; color: var(--blue-dark);
    border: 1px solid #c6dafc; border-radius: 999px; padding: .3rem 1rem;
    font-size: .82rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 1.2rem;
}
.hero-title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 1rem; letter-spacing: -.02em; }
.hero-title .accent { color: var(--blue); }
.hero-sub { font-size: 1.25rem; color: var(--muted); max-width: 620px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-version { margin-top: 1.4rem; color: var(--muted); font-size: .92rem; }
.hero-version strong { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .6rem; letter-spacing: -.01em; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 3rem; }

.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-lg); }

.feature-card h3 { margin: .9rem 0 .4rem; font-size: 1.12rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px; background: var(--blue-light);
    color: var(--blue); display: flex; align-items: center; justify-content: center;
}

/* ---------- Device cards ---------- */
.device-card { text-align: center; display: flex; flex-direction: column; align-items: center; color: var(--ink); }
a.device-card:hover { text-decoration: none; transform: translateY(-3px); }
.device-card img { width: 110px; height: auto; margin-bottom: .8rem; }
.device-card h3 { margin: .2rem 0; font-size: 1.08rem; }
.device-ph { color: var(--blue); margin-bottom: .8rem; }
.device-codename { color: var(--muted); font-size: .85rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.device-link { margin-top: .9rem; color: var(--blue); font-size: .88rem; font-weight: 600; }

/* ---------- Download card ---------- */
.download-card {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center;
    padding: 3rem;
}
.download-main h2 { margin: 0 0 .3rem; font-size: 1.7rem; }
.download-version { color: var(--blue); font-weight: 600; margin: 0; }
.download-meta { color: var(--muted); margin: .2rem 0 1.4rem; }
.download-note { color: var(--muted); font-size: .85rem; margin-top: 1rem; }
.download-history h3 { margin-top: 0; }
.download-history ul { list-style: none; margin: 0; padding: 0; }
.download-history li {
    padding: .7rem 0; border-bottom: 1px dashed var(--line);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; color: var(--ink-soft);
}
.download-history li:last-child { border-bottom: 0; }

/* ---------- CTA ---------- */
.cta-section { background: linear-gradient(135deg, var(--blue) 0%, #174ea6 100%); color: #fff; text-align: center; }
.cta-section h2 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-section p { color: #dbe7fd; margin: 0 0 1.8rem; }

/* ---------- Device (model) pages ---------- */
.device-hero { background: linear-gradient(160deg, #f8fbff 0%, var(--blue-light) 100%); padding: 64px 0; }
.device-hero-inner h1 { margin: .6rem 0; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.01em; }
.breadcrumb { font-size: .88rem; color: var(--muted); display: flex; gap: .5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.device-tagline { color: var(--ink-soft); font-size: 1.15rem; margin: 0 0 1.6rem; }
.device-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.6rem; align-items: start; }
.device-main { display: flex; flex-direction: column; gap: 1.6rem; }
.device-side { display: flex; flex-direction: column; gap: 1.6rem; position: sticky; top: 88px; }
.spec-card dl { margin: 0; }
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; font-weight: 600; text-align: right; }
.feature-checklist { list-style: none; margin: 0; padding: 0; columns: 2; }
.feature-checklist li { padding: .45rem 0; break-inside: avoid; }
.feature-checklist .check { color: #188038; font-weight: 700; margin-right: .5rem; }

/* ---------- Pages / posts ---------- */
.page-wrap { padding: 64px 20px; max-width: 860px; }
.page-card { padding: 2.5rem; }
.page-title { margin: 0 0 1rem; }
.post-meta { color: var(--muted); font-size: .88rem; margin-bottom: 1.2rem; }
.post-card { margin-bottom: 1.5rem; }
.post-card .post-title { margin: 0 0 .3rem; font-size: 1.4rem; }
.entry-content a { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #17181c; color: #b6bac2; margin-top: 0; }
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 64px 20px 48px;
}
.footer-col h4 { color: #fff; margin: 0 0 1rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: #b6bac2; font-size: .93rem; }
.footer-col a:hover { color: #fff; }
.footer-brand .brand-text { color: #fff; font-size: 1.2rem; font-weight: 700; }
.footer-brand p { font-size: .92rem; max-width: 300px; }
.footer-note { font-size: .85rem; color: #8a8f98; margin-top: .8rem; }
.footer-bottom { border-top: 1px solid #2a2c33; padding: 1.2rem 0; font-size: .85rem; color: #8a8f98; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .download-card { grid-template-columns: 1fr; padding: 2.2rem; }
    .device-layout { grid-template-columns: 1fr; }
    .device-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 68px; left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 20px 1.4rem;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
        display: none;
    }
    .main-nav.is-open { display: flex; }
    .main-nav ul.menu { flex-direction: column; gap: .2rem; }
    .main-nav ul.menu a { display: block; padding: .65rem 0; font-size: 1.05rem; }
    .nav-actions { margin: .8rem 0 0; flex-direction: column; align-items: stretch; }
    .nav-actions .btn { text-align: center; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .section { padding: 56px 0; }
    .hero { padding: 64px 0; }
    .feature-checklist { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* ---------- Firebase Auth & License Portal (Lightweight, Modern SaaS) ---------- */
.auth-wrap { max-width: 410px; margin: 0 auto; transition: max-width .2s ease; }
.auth-wrap:has(.auth-dashboard-card:not([hidden])) { max-width: 820px; }

.auth-card {
    text-align: center; padding: 1.4rem 1.6rem; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.auth-brand-badge { margin-bottom: .4rem; }
.auth-title { font-size: 1.25rem; margin: .2rem 0 .2rem; font-weight: 700; letter-spacing: -.02em; }
.auth-sub { color: var(--muted); font-size: .84rem; margin: 0 0 .75rem; line-height: 1.4; }

/* Segmented Tabs */
.auth-tabs {
    display: flex; background: var(--bg-alt); padding: 3px; border-radius: 999px;
    border: 1px solid var(--line); margin-bottom: .75rem; gap: 2px;
}
.auth-tab-btn {
    flex: 1; padding: .4rem .6rem; font-size: .8rem; font-weight: 600;
    color: var(--ink-soft); background: transparent; border: 0; border-radius: 999px;
    cursor: pointer; transition: all .15s ease;
}
.auth-tab-btn:hover { color: var(--blue); }
.auth-tab-btn.active {
    background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(60,64,67,.15);
}

/* Alerts */
.auth-alert {
    padding: .5rem .8rem; border-radius: 8px; font-size: .82rem;
    margin-bottom: .75rem; text-align: left; line-height: 1.4;
}
.auth-alert-error { background: #fce8e6; color: #c5221f; border: 1px solid #fad2cf; }
.auth-alert-success { background: #e6f4ea; color: #137333; border: 1px solid #ceead6; }

/* Form inputs & controls */
.form-group { margin-bottom: .65rem; text-align: left; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.text-sm { font-size: .8rem !important; }
.auth-label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .2rem; }
.auth-input {
    width: 100%; padding: .5rem .8rem; border: 1.5px solid var(--line); border-radius: 8px;
    font-size: .9rem; transition: border-color .15s, box-shadow .15s; background: #fff; color: var(--ink);
}
.auth-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }

.password-input-wrap { position: relative; display: flex; align-items: center; }
.password-input-wrap .auth-input { padding-right: 2.6rem; }
.btn-toggle-pwd {
    position: absolute; right: .6rem; background: none; border: 0;
    color: var(--muted); cursor: pointer; padding: .25rem; display: flex;
    align-items: center; justify-content: center; transition: color .15s;
}
.btn-toggle-pwd:hover, .btn-toggle-pwd.active { color: var(--blue); }

button.btn-submit-main {
    width: 100%; height: 40px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #1a73e8 0%, #1557b0 100%); color: #fff;
    border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer;
    box-shadow: 0 3px 12px rgba(26,115,232,.28); margin-top: 10px; transition: all .2s;
}
button.btn-submit-main:hover {
    background: linear-gradient(180deg, #1557b0 0%, #0d47a1 100%); transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(26,115,232,.35);
}
button.btn-submit-main:disabled { opacity: .7; cursor: not-allowed; transform: none; }


.auth-hint { font-size: .84rem; color: var(--muted); margin: 0 0 .75rem; text-align: left; line-height: 1.4; }
.auth-switch { margin: .55rem 0 0; font-size: .82rem; color: var(--muted); }
button.link-btn, .link-btn {
    background: none !important; border: 0 !important; color: var(--blue) !important;
    font-weight: 600; cursor: pointer; font-size: inherit; padding: 0 !important; margin: 0;
    text-decoration: none; transition: color .15s;
}
button.link-btn:hover, .link-btn:hover { text-decoration: underline; color: var(--blue-dark); }
.auth-legal { margin: .45rem 0 0; font-size: .74rem; color: var(--muted); }

/* ---------- Professional Signed-In User Portal ---------- */
.auth-dashboard-card {
    padding: 2.4rem; text-align: left; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}

.dash-user-header {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--line); padding-bottom: 1.6rem; margin-bottom: 1.8rem;
    flex-wrap: wrap; gap: 1.2rem;
}
.dash-user-info { display: flex; align-items: center; gap: 1.2rem; }
.auth-avatar {
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-light) 0%, #d2e3fc 100%) center/cover no-repeat;
    color: var(--blue-dark); display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem; font-weight: 700; flex-shrink: 0; border: 1.5px solid #c6dafc;
}
.dash-member-badge {
    font-size: .76rem; text-transform: uppercase; letter-spacing: .06em;
    color: #188038; font-weight: 700; display: inline-flex; align-items: center; gap: .3rem;
}
.dash-member-badge::before {
    content: ""; display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: #188038;
}
.dash-email { font-size: 1.3rem; margin: .15rem 0 .2rem; color: var(--ink); word-break: break-all; font-weight: 700; }
.dash-plan-tag { font-size: .84rem; color: var(--muted); }

.dash-header-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.dash-btn-tool {
    display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: #fff;
    border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(26,115,232,.3); transition: all .15s;
}
.dash-btn-tool:hover { background: var(--blue-dark); transform: translateY(-1px); color: #fff; }
button.dash-btn-signout {
    display: inline-flex; align-items: center; background: #f8fafc; color: #475569; border: 1px solid #cbd5e1;
    border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer;
    transition: all .15s;
}
button.dash-btn-signout:hover { background: #f1f5f9; color: var(--ink); border-color: #94a3b8; }

/* Dashboard Cards Grid */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.dash-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.5rem; display: flex; flex-direction: column; transition: box-shadow .2s;
    box-shadow: 0 1px 2px rgba(60,64,67,.06);
}
.dash-card:hover { box-shadow: var(--shadow); }

.dash-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; gap: .8rem; }
.dash-card-title-wrap { display: flex; align-items: center; gap: .6rem; }
.dash-card-title-wrap h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.dash-card-icon { color: var(--blue); display: flex; align-items: center; }

/* Modern Status Pills */
.status-pill {
    font-size: .76rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px;
    letter-spacing: .02em; white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem;
}
.status-active, .status-ready { background: #e6f4ea; color: #137333; border: 1px solid #ceead6; }
.status-pending { background: #fef7e0; color: #b06000; border: 1px solid #feefc3; }
.status-cooldown { background: #fff8e1; color: #b06000; border: 1px solid #ffe082; }
.status-expired, .status-banned { background: #fce8e6; color: #c5221f; border: 1px solid #fad2cf; }
.status-loading { background: #f1f3f4; color: #5f6368; border: 1px solid #dadce0; }

/* Prominent Days Box */
.license-days-box {
    text-align: center; padding: 1.2rem .8rem; background: var(--bg-alt);
    border: 1px solid var(--line); border-radius: 12px; margin-bottom: 1.2rem;
}
.license-days-number { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--blue); }
.license-days-box.days-active .license-days-number { color: #188038; }
.license-days-box.days-pending .license-days-number { color: #e37400; }
.license-days-box.days-expired .license-days-number,
.license-days-box.days-banned .license-days-number { color: #d93025; }
.license-days-label { font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: .3rem; text-transform: uppercase; letter-spacing: .05em; }

/* Clean Metadata Rows */
.dash-details-list { margin: 0 0 1.2rem; }
.dash-detail-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: .5rem 0; border-bottom: 1px dashed var(--line); font-size: .88rem;
}
.dash-detail-row:last-child { border-bottom: 0; }
.dash-detail-row dt { color: var(--muted); margin: 0; }
.dash-detail-row dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; }

/* Notice Banners */
.license-notice {
    padding: .75rem .95rem; border-radius: 10px; font-size: .86rem; line-height: 1.45;
    margin-top: auto;
}
.notice-active { background: #e6f4ea; color: #137333; border: 1px solid #ceead6; }
.notice-pending { background: #fef7e0; color: #b06000; border: 1px solid #feefc3; }
.notice-expired, .notice-banned { background: #fce8e6; color: #c5221f; border: 1px solid #fad2cf; }
.license-notice p { margin: 0; }

/* Cooldown Display */
.pc-cooldown-box {
    background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px;
    padding: 1.1rem; text-align: center; margin-bottom: 1rem;
}
.cooldown-header {
    font-size: .78rem; font-weight: 700; color: var(--muted);
    text-transform: uppercase; letter-spacing: .05em; margin-bottom: .35rem;
}
.cooldown-timer {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.7rem; font-weight: 800; letter-spacing: .04em; padding: .35rem .9rem;
    border-radius: 8px; display: inline-block;
}
.cooldown-timer.timer-active { color: #b06000; background: #fff8e1; border: 1px solid #ffe082; }
.cooldown-timer.timer-ready { color: #137333; background: #e8f5e9; border: 1px solid #c8e6c9; }
.cooldown-sub { margin: .65rem 0 0; font-size: .84rem; color: var(--ink-soft); line-height: 1.4; }
.cooldown-note {
    font-size: .82rem; color: var(--muted); background: var(--bg-alt); padding: .75rem .9rem;
    border-radius: 10px; border: 1px solid var(--line); line-height: 1.45; margin-top: auto;
}
.cooldown-note p { margin: 0; }

/* Loading State */
.dash-loading { text-align: center; padding: 2.8rem 1rem; }
.dash-loading p { color: var(--muted); font-size: .92rem; margin-top: .9rem; }
.spinner {
    width: 34px; height: 34px; border: 3px solid var(--line);
    border-top-color: var(--blue); border-radius: 50%;
    animation: pxSpin .75s linear infinite; margin: 0 auto;
}
@keyframes pxSpin { to { transform: rotate(360deg); } }

.dash-footer {
    margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
    text-align: center; font-size: .86rem; color: var(--muted);
}
.dash-footer p { margin: 0; }

/* Responsive */
@media (max-width: 800px) {
    .dash-grid { grid-template-columns: 1fr; }
    .dash-user-header { flex-direction: column; align-items: flex-start; }
    .dash-header-actions { width: 100%; }
    .auth-dashboard-card { padding: 1.6rem 1.2rem; }
    .auth-card { padding: 2rem 1.2rem; }
}

/* =========================================================
   PRICING & ACTIVATION (Ultra-Luxury SaaS Cards)
   ========================================================= */
.section-pricing {
    background: radial-gradient(circle at 50% 0%, #151f38 0%, #0b1020 70%);
    position: relative;
    padding: 84px 0 92px;
    color: #e8ecf6;
}
.pricing-header { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.pricing-badge {
    background: rgba(127,180,255,.14);
    color: #7fb4ff;
    border: 1px solid rgba(127,180,255,.35);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    display: inline-block;
}
.pricing-header .section-title {
    color: #ffffff;
}
.pricing-header .section-sub {
    color: #97a1ba;
}

.pricing-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 460px));
    justify-content: center;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 3.5rem;
}
@media (max-width: 860px) {
    .pricing-grid-2 {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Card 6 Months Access (.mp6m-*) */
.mp6m-wrap {
    --ink: #0b1020;
    --ink2: #121a30;
    --line: rgba(255, 255, 255, .09);
    --text: #e8ecf6;
    --mute: #97a1ba;
    --ice: #7fb4ff;
    --gold: #e9c16b;
    --gold2: #b8872b;
    --acc: #7fb4ff;
    --accbg: rgba(127, 180, 255, .14);
    box-sizing: border-box;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 26px 12px 12px;
    font-family: 'Manrope', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.55;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.mp6m-wrap *, .mp6m-wrap *::before, .mp6m-wrap *::after { box-sizing: border-box; }
.mp6m-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 32px 30px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)), var(--ink2);
    height: 100%;
    flex: 1;
    transition: transform .25s ease, box-shadow .25s ease;
}
.mp6m-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -20px rgba(127, 180, 255, .3);
}
.mp6m-tier { font-size: 13px; font-weight: 700; color: var(--acc); margin: 0 0 6px; }
.mp6m-name { font-family: 'Fraunces', Georgia, serif; font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.mp6m-desc { margin: 0 0 22px; color: var(--mute); font-size: 14.5px; }
.mp6m-price { display: flex; align-items: baseline; gap: 8px; margin: 0; flex-wrap: wrap; row-gap: 4px; }
.mp6m-cur { font-size: 26px; font-weight: 700; color: var(--mute); align-self: flex-start; margin-top: 10px; }
.mp6m-amt { font-size: 68px; font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.03em; }
.mp6m-old { font-size: 24px; font-weight: 700; color: var(--mute); text-decoration: line-through; text-decoration-thickness: 2px; margin-right: 2px; }
.mp6m-save { align-self: center; margin-left: 4px; font-size: 12.5px; font-weight: 800; color: #1b1405; background: linear-gradient(135deg, #f4d98f, var(--gold)); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.mp6m-per { font-size: 15px; color: var(--mute); font-weight: 600; }
.mp6m-sub { margin: 10px 0 24px; font-size: 14px; color: var(--mute); }
.mp6m-sub b { color: var(--acc); font-weight: 700; }
.mp6m-list { list-style: none; margin: 0 0 26px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 13px; flex: 1; }
.mp6m-list li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--text); margin: 0; }
.mp6m-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--accbg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%237fb4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.mp6m-list li.hl { font-weight: 700; color: #fff; }
.mp6m-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    font: 700 16px/1 'Manrope', sans-serif;
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .18s, box-shadow .18s, background .18s;
}
.mp6m-btn svg { width: 18px; height: 18px; transition: transform .18s; }
.mp6m-btn:hover svg { transform: translateX(4px); }
.mp6m-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mp6m-btn.ice { color: #fff !important; background: rgba(127, 180, 255, .14); border-color: rgba(127, 180, 255, .45); }
.mp6m-btn.ice:hover { background: rgba(127, 180, 255, .26); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(127, 180, 255, .7); }
.mp6m-btn.gold { color: #1b1405 !important; background: linear-gradient(135deg, #f4d98f, var(--gold) 45%, var(--gold2)); }
.mp6m-btn.gold:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(233, 193, 107, .85); }
.mp6m-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--mute); }

/* Card 1 Year Pro (.mp1y-*) */
.mp1y-wrap {
    --ink: #0b1020;
    --ink2: #121a30;
    --line: rgba(255, 255, 255, .09);
    --text: #e8ecf6;
    --mute: #97a1ba;
    --ice: #7fb4ff;
    --gold: #e9c16b;
    --gold2: #b8872b;
    --acc: #e9c16b;
    --accbg: rgba(233, 193, 107, .16);
    box-sizing: border-box;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 26px 12px 12px;
    font-family: 'Manrope', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.55;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.mp1y-wrap *, .mp1y-wrap *::before, .mp1y-wrap *::after { box-sizing: border-box; }
.mp1y-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 32px 30px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)), var(--ink2);
    height: 100%;
    flex: 1;
    transition: transform .25s ease, box-shadow .25s ease;
}
.mp1y-card.is-pro {
    border-color: transparent;
    background-clip: padding-box;
    background: linear-gradient(180deg, rgba(233, 193, 107, .10), rgba(255, 255, 255, .02) 40%), var(--ink2);
    box-shadow: 0 30px 80px -30px rgba(233, 193, 107, .35);
}
.mp1y-card.is-pro::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    z-index: -1;
    background: linear-gradient(160deg, var(--gold), rgba(233, 193, 107, .15) 45%, var(--gold2));
}
.mp1y-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 85px -25px rgba(233, 193, 107, .48);
}
.mp1y-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #1b1405;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: .04em;
    padding: 7px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 24px -8px rgba(233, 193, 107, .7);
}
.mp1y-tier { font-size: 13px; font-weight: 700; color: var(--acc); margin: 0 0 6px; }
.mp1y-name { font-family: 'Fraunces', Georgia, serif; font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.mp1y-desc { margin: 0 0 22px; color: var(--mute); font-size: 14.5px; }
.mp1y-price { display: flex; align-items: baseline; gap: 8px; margin: 0; flex-wrap: wrap; row-gap: 4px; }
.mp1y-cur { font-size: 26px; font-weight: 700; color: var(--mute); align-self: flex-start; margin-top: 10px; }
.mp1y-amt { font-size: 68px; font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.03em; }
.mp1y-old { font-size: 24px; font-weight: 700; color: var(--mute); text-decoration: line-through; text-decoration-thickness: 2px; margin-right: 2px; }
.mp1y-save { align-self: center; margin-left: 4px; font-size: 12.5px; font-weight: 800; color: #1b1405; background: linear-gradient(135deg, #f4d98f, var(--gold)); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.mp1y-per { font-size: 15px; color: var(--mute); font-weight: 600; }
.mp1y-sub { margin: 10px 0 24px; font-size: 14px; color: var(--mute); }
.mp1y-sub b { color: var(--acc); font-weight: 700; }
.mp1y-list { list-style: none; margin: 0 0 26px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 13px; flex: 1; }
.mp1y-list li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--text); margin: 0; }
.mp1y-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--accbg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23e9c16b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.mp1y-list li.hl { font-weight: 700; color: #fff; }
.mp1y-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    font: 700 16px/1 'Manrope', sans-serif;
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .18s, box-shadow .18s, background .18s;
}
.mp1y-btn svg { width: 18px; height: 18px; transition: transform .18s; }
.mp1y-btn:hover svg { transform: translateX(4px); }
.mp1y-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mp1y-btn.ice { color: #fff !important; background: rgba(127, 180, 255, .14); border-color: rgba(127, 180, 255, .45); }
.mp1y-btn.ice:hover { background: rgba(127, 180, 255, .26); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(127, 180, 255, .7); }
.mp1y-btn.gold { color: #1b1405 !important; background: linear-gradient(135deg, #f4d98f, var(--gold) 45%, var(--gold2)); }
.mp1y-btn.gold:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(233, 193, 107, .85); }
.mp1y-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--mute); }

@media (prefers-reduced-motion: reduce) {
    .mp6m-btn, .mp6m-btn svg, .mp1y-btn, .mp1y-btn svg { transition: none; }
    .mp6m-btn:hover, .mp1y-btn:hover { transform: none; }
}

/* Compact pricing cards (fit page, no crop) */
.section-pricing, .pricing-section { overflow: visible; }
.pricing-grid-2 { grid-template-columns: repeat(2, minmax(0, 380px)); gap: 1.5rem; margin-bottom: 2.5rem; }
.mp6m-wrap, .mp1y-wrap { max-width: 380px; padding: 22px 8px 8px; }
.mp6m-card, .mp1y-card { padding: 24px 22px 20px; border-radius: 20px; }
.mp1y-card.is-pro::before { border-radius: 21px; }
.mp6m-tier, .mp1y-tier { font-size: 12px; margin-bottom: 4px; }
.mp6m-name, .mp1y-name { font-size: 22px; margin-bottom: 6px; }
.mp6m-desc, .mp1y-desc { font-size: 13px; margin-bottom: 14px; line-height: 1.45; }
.mp6m-cur, .mp1y-cur { font-size: 20px; margin-top: 7px; }
.mp6m-amt, .mp1y-amt { font-size: 48px; }
.mp6m-old, .mp1y-old { font-size: 19px; }
.mp6m-per, .mp1y-per { font-size: 13px; }
.mp6m-save, .mp1y-save { font-size: 11px; padding: 3px 9px; }
.mp6m-sub, .mp1y-sub { font-size: 12.5px; margin: 8px 0 16px; }
.mp6m-list, .mp1y-list { gap: 8px; padding-top: 14px; margin-bottom: 18px; }
.mp6m-list li, .mp1y-list li { font-size: 13px; padding-left: 26px; line-height: 1.4; }
.mp6m-list li::before, .mp1y-list li::before { width: 16px; height: 16px; top: 1px; }
.mp6m-btn, .mp1y-btn { padding: 13px 16px; font-size: 14.5px; border-radius: 12px; }
.mp6m-btn svg, .mp1y-btn svg { width: 16px; height: 16px; }
.mp6m-note, .mp1y-note { font-size: 11.5px; margin-top: 10px; }
.mp1y-badge { font-size: 11px; padding: 6px 13px; top: -13px; }
@media (max-width: 860px) {
    .pricing-grid-2 { grid-template-columns: 1fr; max-width: 380px; }
}

/* Pricing Page Hero & Trust Bar */
.pricing-hero {
    background: radial-gradient(circle at 50% 0%, #151f38 0%, #0b1020 70%);
    padding: 72px 16px 56px;
    text-align: center;
    color: #e8ecf6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pricing-hero-inner { max-width: 820px; margin: 0 auto; }
.pricing-hero-title { font-size: 2.5rem; font-weight: 800; color: #ffffff; margin: 0 0 1rem; }
.pricing-hero-sub { font-size: 1.05rem; color: #97a1ba; line-height: 1.6; margin: 0 auto; max-width: 660px; }

.pricing-section {
    background: #0b1020;
    padding: 30px 0 90px;
}

.pricing-trust-bar {
    max-width: 940px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    backdrop-filter: blur(10px);
}
@media (max-width: 768px) {
    .pricing-trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .pricing-trust-bar {
        grid-template-columns: 1fr;
    }
}
.trust-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .84rem;
    font-weight: 600;
    color: #cbd5e1;
}
.trust-item svg { stroke: #7fb4ff; flex-shrink: 0; }

/* Callout on pricing page */
.pricing-resellers-callout {
    max-width: 940px;
    margin: 2.8rem auto 0;
    background: linear-gradient(135deg, rgba(233, 193, 107, 0.08), rgba(127, 180, 255, 0.06) 60%), #121a30;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 2rem 2.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .pricing-resellers-callout {
        flex-direction: column;
        text-align: center;
    }
}
.resellers-callout-text h3 { margin: 0 0 .4rem; font-size: 1.25rem; font-weight: 800; color: #ffffff; }
.resellers-callout-text p { margin: 0; font-size: .92rem; color: #97a1ba; max-width: 600px; }

/* =========================================================
   OFFICIAL RESELLERS (reseller cards)
   ========================================================= */
.breadcrumb-nav { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .85rem; color: #97a1ba; margin-bottom: 14px; }
.breadcrumb-nav a { color: #97a1ba; text-decoration: none; }
.breadcrumb-nav a:hover { color: #7fb4ff; }
.breadcrumb-nav .sep { opacity: .5; }
.breadcrumb-nav .current { color: #e8ecf6; font-weight: 600; }

.rc-switch { display: inline-flex; margin-top: 1.6rem; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); }
.rc-switch a { padding: 10px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: #97a1ba; text-decoration: none; transition: background .2s, color .2s; }
.rc-switch a[aria-current="page"] { background: linear-gradient(135deg, #f4d98f, #e9c16b 45%, #b8872b); color: #1b1405; }
.rc-switch a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.rc-section { padding: 44px 0 90px; }
.rc-grid { --ink2: #121a30; --line: rgba(255,255,255,.09); --text: #e8ecf6; --mute: #97a1ba; --gold: #e9c16b; --gold2: #b8872b;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin: 0 auto; padding: 0; list-style: none; max-width: 1040px;
    font-family: 'Manrope', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text); line-height: 1.55; }
.rc-card { display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: 22px; border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)), var(--ink2); transition: border-color .2s, transform .2s, box-shadow .2s; }
.rc-card:hover { border-color: rgba(233,193,107,.5); transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(233,193,107,.5); }
.rc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rc-logo { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #fff; background: linear-gradient(135deg, #2a3a66, #18223f); border: 1px solid var(--line); overflow: hidden; }
.rc-logo img { width: 100%; height: 100%; object-fit: cover; }
.rc-name { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 20px; color: #fff; margin: 0 0 5px; line-height: 1.2; }
.rc-ver { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--gold); background: rgba(233,193,107,.12); padding: 3px 9px; border-radius: 999px; }
.rc-ver svg { width: 12px; height: 12px; }
.rc-info { margin: 0 0 18px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; }
.rc-info div { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.rc-info dt { color: var(--mute); margin: 0; }
.rc-info dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; }
.rc-buy { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 18px; border-radius: 13px; font: 700 15px/1 'Manrope', sans-serif; text-decoration: none; color: #1b1405 !important;
    background: linear-gradient(135deg, #f4d98f, var(--gold) 45%, var(--gold2)); transition: transform .18s, box-shadow .18s; }
.rc-buy svg { width: 17px; height: 17px; transition: transform .18s; }
.rc-buy:hover svg { transform: translateX(4px); }
.rc-buy:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(233,193,107,.8); }
.rc-buy:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.rc-foot { margin: 28px 0 0; text-align: center; font-size: 13.5px; color: #97a1ba; }
.rc-foot strong { color: #e8ecf6; }

/* Responsive */
@media (max-width: 960px) {
    .pricing-grid-2 { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
    .pricing-trust-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .pricing-trust-bar { grid-template-columns: 1fr; }
    .rc-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .rc-card, .rc-buy, .rc-buy svg, .rc-switch a { transition: none; }
    .rc-card:hover, .rc-buy:hover { transform: none; }
}

/* ---------- Header: one-line nav ---------- */
.header-inner { height: auto; min-height: 68px; gap: 1rem; }
.site-brand, .site-brand * { white-space: nowrap; }
.site-brand { font-size: 1.05rem; flex: none; }
.main-nav { gap: 1rem; flex-wrap: nowrap; }
.main-nav ul.menu { gap: 1.1rem; flex-wrap: nowrap; }
.main-nav ul.menu a { white-space: nowrap; font-size: .9rem; }
.nav-actions { flex-wrap: nowrap; margin-left: 0; }
.nav-actions .btn { white-space: nowrap; }
.nav-actions .btn-sm { padding: .45rem .95rem; font-size: .85rem; }
@media (max-width: 1280px) {
    .main-nav ul.menu { gap: .85rem; }
    .main-nav ul.menu a { font-size: .85rem; }
    .main-nav { gap: .7rem; }
}
@media (max-width: 1100px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 68px; left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 20px 1.4rem;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none;
    }
    .main-nav.is-open { display: flex; }
    .main-nav ul.menu { flex-direction: column; gap: .2rem; }
    .main-nav ul.menu a { display: block; padding: .65rem 0; font-size: 1.02rem; }
    .nav-actions { margin: .8rem 0 0; flex-direction: column; align-items: stretch; }
    .nav-actions .btn { text-align: center; }
}

/* =========================================================
   LIGHT PREMIUM THEME LAYER (overrides; light, clean, fast)
   ========================================================= */
:root {
    --blue: #1a6ff0; --blue-dark: #1257c7; --blue-light: #eaf2ff;
    --ink: #0f172a; --ink-soft: #334155; --muted: #5b6678; --line: #e3e8f0;
    --bg: #ffffff; --bg-alt: #f6f9fe;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px -10px rgba(15,23,42,.12);
    --shadow-lg: 0 2px 4px rgba(15,23,42,.05), 0 22px 44px -18px rgba(26,111,240,.28);
    --gold: #c8962f;
}
body { font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; color: var(--ink); background: #fff; letter-spacing: -.003em; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.02em; }
.section { padding: 76px 0; }
.section-title { font-weight: 800; }
.section-sub { font-size: 1.02rem; }

/* Buttons */
.btn { font-family: inherit; font-weight: 700; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: linear-gradient(135deg, #2b82ff, #1257c7); box-shadow: 0 10px 22px -12px rgba(26,111,240,.8); }
.btn-primary:hover { background: linear-gradient(135deg, #2b82ff, #1257c7); transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(26,111,240,.9); }
.btn-outline { border-color: #cfdcf3; color: var(--blue-dark); background: #fff; }
.btn-outline:hover { background: var(--blue-light); border-color: var(--blue); }

/* Header */
.site-header { background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(227,232,240,.8); }
.main-nav ul.menu a { color: var(--ink-soft); font-weight: 600; border-radius: 8px; transition: color .15s; }
.main-nav ul.menu a:hover { color: var(--blue); text-decoration: none; }

/* Hero */
.hero {
    background:
        radial-gradient(620px 300px at 12% 0%, rgba(43,130,255,.14), transparent 65%),
        radial-gradient(620px 300px at 92% 100%, rgba(200,150,47,.12), transparent 65%),
        linear-gradient(180deg, #f8fbff, #eef4ff);
    padding: 92px 0 84px;
}
.hero-title { font-weight: 800; }
.hero-title .accent { background: linear-gradient(135deg, #2b82ff, #1257c7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { background: #fff; border: 1px solid #d6e4fb; color: var(--blue-dark); font-weight: 700; box-shadow: 0 4px 12px -8px rgba(26,111,240,.5); }

/* Cards */
.feature-grid > *, .device-grid > *, .card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.feature-grid > *:hover, .device-grid > *:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfdcf3; }

/* Footer: light */
.site-footer { background: #f3f6fb; color: #475569; border-top: 1px solid var(--line); }
.footer-col h4, .footer-brand .brand-text { color: var(--ink); }
.footer-col a { color: #475569; }
.footer-col a:hover { color: var(--blue); text-decoration: none; }
.footer-note, .footer-bottom { color: #6b7686; }
.footer-bottom { border-top: 1px solid var(--line); }

/* ---------- Pricing: light ---------- */
.section-pricing { background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%); color: var(--ink); }
.pricing-badge { background: #fff; color: var(--blue-dark); border: 1px solid #d6e4fb; }
.pricing-header .section-title { color: var(--ink); }
.pricing-header .section-sub { color: var(--muted); }
.pricing-hero { background: radial-gradient(620px 280px at 50% 0%, rgba(43,130,255,.14), transparent 70%), linear-gradient(180deg, #f8fbff, #eef4ff); color: var(--ink); border-bottom: 1px solid var(--line); }
.pricing-hero-title { color: var(--ink); }
.pricing-hero-sub { color: var(--muted); }
.pricing-section { background: #f6f9fe; }
.pricing-trust-bar { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: none; }
.trust-item { color: var(--ink-soft); }
.trust-item svg { stroke: var(--blue); }
.breadcrumb-nav, .breadcrumb-nav a { color: var(--muted); }
.breadcrumb-nav a:hover { color: var(--blue); }
.breadcrumb-nav .current { color: var(--ink); }

/* Plan cards (6m + 1y) */
.mp6m-wrap, .mp1y-wrap { --ink2: #fff; --line: #e3e8f0; --text: #1b2433; --mute: #5b6678; }
.mp6m-wrap { --acc: #1a6ff0; --accbg: rgba(26,111,240,.10); }
.mp1y-wrap { --acc: #a8741a; --accbg: rgba(200,150,47,.16); }
.mp6m-card, .mp1y-card { background: #fff !important; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mp1y-card.is-pro { border-color: transparent; background: linear-gradient(180deg, #fffaf0, #fff 45%) !important; box-shadow: 0 26px 60px -30px rgba(200,150,47,.55); }
.mp1y-card.is-pro::before { background: linear-gradient(160deg, #e9c16b, rgba(233,193,107,.25) 45%, #c8962f); }
.mp6m-name, .mp1y-name, .mp6m-amt, .mp1y-amt, .mp6m-list li.hl, .mp1y-list li.hl { color: var(--ink) !important; }
.mp6m-desc, .mp1y-desc, .mp6m-per, .mp1y-per, .mp6m-sub, .mp1y-sub, .mp6m-note, .mp1y-note, .mp6m-cur, .mp1y-cur, .mp6m-old, .mp1y-old { color: var(--muted); }
.mp6m-list li, .mp1y-list li { color: var(--ink-soft); }
.mp6m-list, .mp1y-list { border-top-color: var(--line); }
.mp6m-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231a6ff0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.mp1y-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23a8741a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.mp6m-btn.ice { color: #fff !important; background: linear-gradient(135deg, #2b82ff, #1257c7); border-color: transparent; box-shadow: 0 12px 24px -12px rgba(26,111,240,.8); }
.mp6m-btn.ice:hover { background: linear-gradient(135deg, #2b82ff, #1257c7); box-shadow: 0 16px 28px -12px rgba(26,111,240,.9); }

/* Reseller cards: light */
.rc-grid { --ink2: #fff; --line: #e3e8f0; --text: #1b2433; --mute: #5b6678; font-family: 'Manrope', sans-serif; }
.rc-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rc-card:hover { border-color: #cfdcf3; box-shadow: var(--shadow-lg); }
.rc-logo { background: linear-gradient(135deg, #eaf2ff, #dbe8ff); color: var(--blue-dark); border-color: #d6e4fb; }
.rc-name { color: var(--ink); }
.rc-ver { color: #0f7a4d; background: #e6f6ee; }
.rc-info div dt { color: var(--muted); }
.rc-info dd { color: var(--ink); }
.rc-buy { color: #fff !important; background: linear-gradient(135deg, #2b82ff, #1257c7); box-shadow: 0 12px 24px -12px rgba(26,111,240,.8); }
.rc-buy:hover { box-shadow: 0 16px 28px -12px rgba(26,111,240,.9); }
.rc-foot { color: var(--muted); }
.rc-foot strong { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .btn, .btn-primary:hover, .feature-grid > *:hover, .device-grid > *:hover { transform: none; } }

/* =========================================================
   SUPPORTED TOOL FEATURES (Dual Columns: Unlocked & Locked)
   ========================================================= */
.supported-features-title {
    margin-top: 0;
    margin-bottom: 1.35rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.supported-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
@media (max-width: 768px) {
    .supported-features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}
.feature-box {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.4rem 1.45rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.12);
}
.feature-box-unlocked {
    background: linear-gradient(180deg, rgba(26, 111, 240, 0.035) 0%, #ffffff 100%);
    border-color: #dbe7fa;
}
.feature-box-locked {
    background: linear-gradient(180deg, rgba(200, 150, 47, 0.045) 0%, #ffffff 100%);
    border-color: #faebd7;
}
.feature-box-header {
    margin-bottom: 1.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.f-header-badge {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.badge-unlocked {
    color: #1a6ff0;
}
.badge-locked {
    color: #b45309;
}
.feature-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.68rem;
}
.feature-items-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.94rem;
    color: #334155;
    line-height: 1.45;
}
.feature-items-list .f-bullet {
    flex-shrink: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}
.feature-items-list .f-extra {
    color: #64748b;
    margin-top: 0.25rem;
}
.feature-items-list .f-highlight {
    background: rgba(200, 150, 47, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 9px;
    border: 1px solid rgba(200, 150, 47, 0.28);
    color: #92400e;
    margin-top: 0.25rem;
}
.oem-builds-box {
    margin-top: 1.4rem;
    padding: 1.05rem 1.15rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.oem-builds-title {
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f172a;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.oem-builds-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.oem-builds-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
}
.oem-builds-list .b-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}
.build-supported {
    color: #166534;
    font-weight: 600;
}
.build-not-supported {
    color: #b91c1c;
    font-weight: 700;
    margin-top: 0.35rem;
    padding-top: 0.45rem;
    border-top: 1px dashed #cbd5e1;
}

/* Custom Features badges & extra box */
.badge-new-pill {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.16rem 0.45rem;
    border-radius: 999px;
    margin-left: 0.35rem;
    letter-spacing: 0.04em;
    line-height: 1;
}
.f-custom-item {
    font-weight: 600;
    color: #0f172a;
}
.custom-model-extra-box {
    margin-top: 1.5rem;
    padding: 1.15rem 1.35rem;
    background: linear-gradient(135deg, rgba(26, 111, 240, 0.04) 0%, rgba(200, 150, 47, 0.05) 100%), #ffffff;
    border: 1px solid #dbe7fa;
    border-radius: 14px;
}
.custom-extra-header {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.75rem;
}
.custom-extra-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}
@media (max-width: 600px) {
    .custom-extra-list {
        grid-template-columns: 1fr;
    }
}
.custom-extra-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: #334155;
}

/* Shared capability comparison inside the existing extra-features card. */
.custom-extra-comparison {
    margin-bottom: 1rem;
    overflow-x: auto;
}
.custom-extra-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    color: #334155;
}
.custom-extra-table th,
.custom-extra-table td {
    padding: 0.6rem 0.35rem;
    border-bottom: 1px solid #dbe7fa;
    text-align: center;
    vertical-align: middle;
}
.custom-extra-table th:first-child {
    text-align: left;
    width: 50%;
}
.custom-extra-table tbody th {
    font-weight: 400;
}
.custom-extra-table thead th {
    color: var(--ink);
    font-weight: 800;
}
.custom-extra-table tbody tr:last-child th,
.custom-extra-table tbody tr:last-child td {
    border-bottom: 0;
}
