/* Metamorph theme — matches metamorph.ac (dark, cyan→blue→purple gradient, Inter) */
:root {
    --bg: #030712;
    --bg-2: #0a0f1c;
    --panel: #111827;
    --panel-2: #0d1424;
    --border: #1f2937;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --purple: #9333ea;
    --grad: linear-gradient(90deg, #22d3ee 0%, #3b82f6 50%, #9333ea 100%);
    --grad-btn: linear-gradient(90deg, #22d3ee 0%, #3b82f6 100%);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    min-height: 100%;
    position: relative;
    /* layered radial glows like the hero */
    background-image:
        radial-gradient(900px 500px at 15% -10%, rgba(34, 211, 238, 0.12), transparent 60%),
        radial-gradient(900px 600px at 100% 10%, rgba(147, 51, 234, 0.14), transparent 55%),
        radial-gradient(700px 500px at 50% 120%, rgba(59, 130, 246, 0.10), transparent 60%);
    background-attachment: fixed;
}

/* ---- Aurora background + cursor spotlight ---- */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora .blob { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.aurora .c1 { width: 60vw; height: 60vw; top: -18%; left: -12%;
    background: radial-gradient(circle at center, rgba(34,211,238,0.40), transparent 68%);
    animation: drift1 24s ease-in-out infinite; }
.aurora .c2 { width: 52vw; height: 52vw; top: -12%; right: -14%;
    background: radial-gradient(circle at center, rgba(147,51,234,0.38), transparent 68%);
    animation: drift2 30s ease-in-out infinite; }
.aurora .c3 { width: 48vw; height: 48vw; bottom: -22%; left: 28%;
    background: radial-gradient(circle at center, rgba(59,130,246,0.32), transparent 68%);
    animation: drift3 34s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(7vw,6vh) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6vw,7vh) scale(1.15); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1.05); } 50% { transform: translate(5vw,-6vh) scale(0.92); } }
#cursor-glow { position: fixed; left: 0; top: 0; width: 480px; height: 480px; border-radius: 50%;
    pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s ease;
    background: radial-gradient(circle at center, rgba(34,211,238,0.13), rgba(147,51,234,0.06) 42%, transparent 62%); }
@media (max-width: 700px) { #cursor-glow { display: none; } }

header, .mm-main, .mm-footer { position: relative; z-index: 1; }

/* ---- Nav ---- */
.mm-nav {
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    margin-bottom: 2rem;
}
.navbar-brand.brand-gradient {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}
.mm-nav .nav-link {
    color: var(--muted) !important;
    font-weight: 500;
    padding: 0.35rem 0.9rem !important;
    transition: color 0.15s ease;
}
.mm-nav .nav-link:hover { color: #fff !important; }
.mm-nav .nav-cta {
    color: var(--cyan) !important;
    border: 1px solid rgba(34, 211, 238, 0.45);
    border-radius: 999px;
    padding: 0.35rem 1.1rem !important;
}
.mm-nav .nav-cta:hover { background: rgba(34, 211, 238, 0.1); color: #fff !important; }
.navbar-toggler { border-color: var(--border); }
.navbar-toggler-icon { filter: invert(1) opacity(0.7); }

/* ---- Gradient text ---- */
.brand-gradient, .text-gradient {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---- Smooth scroll + section anchoring under fixed nav ---- */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }

/* ---- Eyebrow / section heads ---- */
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 600;
    color: var(--cyan); margin-bottom: 0.9rem; }
.section { padding: 5rem 0; max-width: 1080px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 0; }
.section-sub { color: var(--muted); margin-top: 0.9rem; }
.btn-lg { padding: 0.85rem 2.2rem; font-size: 1.05rem; }

/* ---- Features ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.feature { background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem; transition: transform .15s ease, border-color .15s ease; }
.feature:hover { transform: translateY(-4px); border-color: rgba(34,211,238,0.4); }
.feature-ico { font-size: 1.8rem; margin-bottom: 0.8rem; }
.feature h3 { color: #fff; font-weight: 700; font-size: 1.1rem; margin: 0 0 0.5rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; line-height: 1.55; }

/* ---- How it works ---- */
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.step-card { text-align: center; padding: 1.6rem; }
.step-badge { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center;
    justify-content: center; font-weight: 800; font-size: 1.3rem; color: #04222b; background: var(--grad-btn);
    box-shadow: 0 8px 26px rgba(34,211,238,0.28); }
.step-card h3 { color: #fff; font-weight: 700; font-size: 1.1rem; margin: 0 0 0.4rem; }
.step-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.3rem; max-width: 760px; margin: 0 auto; }
.price-card { position: relative; background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--border); border-radius: 18px; padding: 2rem 1.7rem; display: flex; flex-direction: column; }
.price-card.featured { border-color: transparent; background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 18px 50px rgba(34,211,238,0.14); }
.price-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad-btn);
    color: #04222b; font-weight: 700; font-size: 0.72rem; padding: 0.25rem 0.9rem; border-radius: 999px; letter-spacing: 0.03em; }
.price-name { color: #fff; font-weight: 700; font-size: 1.15rem; margin: 0 0 0.6rem; }
.price-amt { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.02em; }
.price-term { font-size: 0.85rem; margin-bottom: 1rem; }
.price-desc { color: var(--muted); font-size: 0.92rem; min-height: 2.6em; }
.price-feats { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.price-feats li { color: var(--text); padding: 0.35rem 0; font-size: 0.93rem; }
.price-card .btn { margin-top: auto; }

/* ---- Closing CTA ---- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin: 0 0 0.6rem; }
.cta-band p { margin-bottom: 1.6rem; }

.scroll-hint { display: inline-block; margin-top: 2.5rem; color: var(--muted); font-size: 1.4rem; text-decoration: none;
    animation: bob 1.8s ease-in-out infinite; }
.scroll-hint:hover { color: var(--cyan); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---- Hero ---- */
.hero { text-align: center; padding: 4.5rem 0 3rem; }
.hero h1 {
    font-weight: 800;
    font-size: clamp(3.5rem, 12vw, 8rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
    filter: drop-shadow(0 0 40px rgba(34, 211, 238, 0.25));
}
.hero .lead {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 680px;
    margin: 0 auto 2.25rem;
    line-height: 1.6;
}

/* ---- Buttons ---- */
.btn { border-radius: 999px; font-weight: 600; padding: 0.7rem 1.9rem; border: none; }
.btn-gradient {
    background: var(--grad-btn);
    color: #04222b;
    box-shadow: 0 8px 30px rgba(34, 211, 238, 0.28);
}
.btn-gradient:hover { color: #04222b; filter: brightness(1.08); box-shadow: 0 10px 36px rgba(34, 211, 238, 0.4); }
.btn-ghost {
    background: transparent;
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, 0.5);
}
.btn-ghost:hover { background: rgba(34, 211, 238, 0.1); color: #fff; }
.btn-outline-secondary { color: var(--muted); border: 1px solid var(--border); border-radius: 999px; }
.btn-outline-secondary:hover { background: var(--panel); color: #fff; border-color: var(--muted); }

/* ---- Cards / panels ---- */
.card {
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
}
.card-title { color: #fff; font-weight: 700; }
.card-text { color: var(--muted); }

/* ---- Tables ---- */
.table { color: var(--text); border-color: var(--border); }
.table > :not(caption) > * > * { background: transparent; color: var(--text); border-bottom-color: var(--border); padding: 0.85rem 0.75rem; }
.table thead th { color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; }
code { color: var(--cyan); background: rgba(34, 211, 238, 0.08); padding: 0.15rem 0.45rem; border-radius: 6px; }

/* ---- Badges ---- */
.badge.bg-success { background: rgba(34, 197, 94, 0.15) !important; color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.badge.bg-secondary { background: rgba(148,163,184,0.15) !important; color: #cbd5e1; border: 1px solid var(--border); }
.badge.bg-warning { background: rgba(234,179,8,0.15) !important; color: #fbbf24 !important; border: 1px solid rgba(234,179,8,0.3); }
.badge { font-weight: 600; border-radius: 999px; padding: 0.35rem 0.7rem; }

/* ---- Alerts ---- */
.alert-secondary { background: var(--panel); border: 1px solid var(--border); color: var(--muted); border-radius: 12px; }

.text-secondary { color: var(--muted) !important; }

/* ---- Footer ---- */
.mm-footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
    padding: 1.5rem 0;
    margin-top: 4rem;
    font-size: 0.9rem;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }

/* ---- Instructions ---- */
.instructions { max-width: 820px; margin: 0 auto; padding-bottom: 2rem; }
.step-list { list-style: none; padding: 0; margin: 0; }
.step { display: flex; gap: 1.1rem; padding: 1.4rem; margin-bottom: 1rem;
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--border); border-radius: 16px; }
.step-num { flex: 0 0 42px; height: 42px; width: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 800; color: #04222b;
    background: var(--grad-btn); box-shadow: 0 6px 20px rgba(34,211,238,0.25); }
.step-body h3 { color: #fff; font-weight: 700; font-size: 1.15rem; margin: 0.25rem 0 0.5rem; }
.step-body p { color: var(--muted); margin: 0 0 0.75rem; }
.bios-list { color: var(--text); margin: 0.25rem 0 0; padding-left: 1.1rem; }
.bios-list li { margin-bottom: 0.35rem; }
.btn-sm { padding: 0.4rem 1.1rem; font-size: 0.85rem; }

/* Instructions selector + extras */
.selector { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-bottom: 2.5rem; }
.sel-group { display: flex; align-items: center; gap: 0.35rem; background: var(--panel); border: 1px solid var(--border);
    border-radius: 999px; padding: 0.35rem 0.5rem 0.35rem 1rem; }
.sel-label { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; margin-right: 0.3rem; }
.sel-btn { background: transparent; border: none; color: var(--muted); font-weight: 600; padding: 0.4rem 0.9rem;
    border-radius: 999px; cursor: pointer; transition: color .15s ease, background .15s ease; font-family: inherit; }
.sel-btn:hover { color: #fff; }
.sel-btn.active { background: var(--grad-btn); color: #04222b; }
.linux-spoof { max-width: 820px; margin: 0 auto; background: var(--panel); border: 1px solid var(--border);
    border-radius: 14px; padding: 1rem 1.3rem; }
.linux-spoof summary { cursor: pointer; font-weight: 700; color: #fff; list-style: none; }
.linux-spoof summary::-webkit-details-marker { display: none; }
.linux-spoof summary:before { content: "▸ "; color: var(--cyan); }
.linux-spoof[open] summary:before { content: "▾ "; }
.linux-spoof summary:hover { color: var(--cyan); }
.cmd { background: #05070e; border: 1px solid var(--border); border-radius: 8px; padding: 0.8rem 1rem; color: #9be7ff;
    font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.85rem; overflow-x: auto; white-space: pre; margin: 0; }
.mfr-note-card { max-width: 820px; margin: 1.5rem auto 0; }
.mfr-note-card p { color: var(--muted); font-size: 0.92rem; }
.step-body div a { font-weight: 600; }

.note { border-radius: 10px; padding: 0.7rem 0.9rem; margin-top: 0.6rem; font-size: 0.92rem;
    border: 1px solid var(--border); background: rgba(255,255,255,0.02); color: var(--text); }
.note a { font-weight: 600; }
.note-msi { border-left: 3px solid var(--cyan); }
.note-warn { border-left: 3px solid #fbbf24; }
.note-warn strong { color: #fbbf24; }
.note-info { border-left: 3px solid var(--blue); color: var(--muted); }

/* ---- Admin ---- */
.stat { background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.25rem; text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; line-height: 1; }
.stat-label { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.35rem; }
.detail-dl { display: grid; grid-template-columns: 130px 1fr; gap: 0.4rem 1rem; margin: 0; }
.detail-dl dt { color: var(--muted); font-weight: 500; }
.detail-dl dd { margin: 0; color: var(--text); }
.form-control, .form-select { background: var(--bg-2); border: 1px solid var(--border); color: var(--text); border-radius: 10px; }
.form-control:focus, .form-select:focus { background: var(--bg-2); border-color: var(--cyan); color: var(--text); box-shadow: 0 0 0 0.15rem rgba(34,211,238,0.2); }
.form-control::placeholder { color: #6b7280; }

/* ---- Checkout ---- */
.checkout-wrap { max-width: 560px; margin: 0 auto; }
.amount-box { text-align: center; padding: 1rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; }
.qr { width: 210px; height: 210px; background: #fff; padding: 8px; border-radius: 12px; }
.addr-box { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 0.9rem; word-break: break-all; }
.addr-box code { background: transparent; color: var(--cyan); padding: 0; }
.pay-status.ok { color: #4ade80; font-size: 1.4rem; font-weight: 800; }
.license-key { background: var(--bg-2); border: 1px solid rgba(34,211,238,0.35); border-radius: 10px; padding: 0.7rem; margin: 0.4rem 0; }
.license-key code { color: var(--cyan); font-size: 1.1rem; background: transparent; }
