:root {
    --bg-deep: #0d0e10;
    --bg-primary: #111214;
    --bg-secondary: #1a1d21;
    --bg-card: #16191d;
    --bg-floating: #131518;
    --modifier-hover: rgba(255,255,255,0.05);
    --text-normal: #d4d7dc;
    --text-muted: #7e8898;
    --text-header: #f2f3f5;
    --brand: #22c55e;
    --brand-hover: #16a34a;
    --brand-dim: rgba(34,197,94,0.12);
    --brand-glow: rgba(34,197,94,0.25);
    --brand-gradient: linear-gradient(135deg, #22c55e 0%, #4ade80 60%, #86efac 100%);
    --font-primary: 'Inter', system-ui, sans-serif;
    --font-code: 'Roboto Mono', monospace;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
    --shadow-lg: 0 20px 48px rgba(0,0,0,0.45);
    --shadow-brand: 0 8px 24px rgba(34,197,94,0.22);
    --nav-height: 68px;
    --decor-scale: 130%;
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0; padding: 0;
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-normal);
    overflow-x: hidden;
    display: flex; flex-direction: column; min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 8px; background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #252830; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #323640; }

h1,h2,h3,h4 { color: var(--text-header); margin: 0; }
h1 { font-weight: 900; font-size: clamp(2.8rem,6vw,5rem); letter-spacing: -0.04em; line-height: 1.05; }
h2 { font-weight: 800; font-size: clamp(1.7rem,3vw,2.4rem); letter-spacing: -0.03em; margin-bottom: 0.5rem; }
h3 { font-weight: 700; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin: 0; }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes scrollCol { 0% { transform:translateY(0); } 100% { transform:translateY(-50%); } }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes float { 0%,100% { transform:translateY(0) rotate(-0.5deg); } 50% { transform:translateY(-14px) rotate(0.5deg); } }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
@keyframes orb { 0%,100% { transform:scale(1) translate(0,0); } 33% { transform:scale(1.08) translate(30px,-20px); } 66% { transform:scale(0.94) translate(-20px,12px); } }
@keyframes toastIn { from { opacity:0; transform:translateX(110%) scale(0.9); } to { opacity:1; transform:translateX(0) scale(1); } }
@keyframes toastOut { to { opacity:0; transform:translateX(110%) scale(0.9); } }
@keyframes modalIn { from { opacity:0; transform:scale(0.92) translateY(16px); } to { opacity:1; transform:scale(1) translateY(0); } }
@keyframes dropdownIn { from { opacity:0; transform:translateX(-50%) translateY(-8px) scale(0.96); } to { opacity:1; transform:translateX(-50%) translateY(0) scale(1); } }
@keyframes modalSlideUp { from { opacity:1; transform:translateY(100%); } to { opacity:1; transform:translateY(0); } }

/* SCROLL REVEAL */
.reveal { opacity:0; transform:translateY(28px); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity:1; transform:translateY(0); }
.d1 { transition-delay:0.08s; } .d2 { transition-delay:0.16s; } .d3 { transition-delay:0.24s; } .d4 { transition-delay:0.32s; }

/* BUTTONS */
.btn {
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:0 26px; height:48px; border-radius:99px;
    font-weight:700; font-size:0.92rem; letter-spacing:-0.01em;
    cursor:pointer; border:none; transition:all 0.2s cubic-bezier(0.2,0.8,0.2,1);
    position:relative; overflow:hidden; text-decoration:none;
}
.btn-brand { background:var(--brand); color:#fff; box-shadow:var(--shadow-brand); }
.btn-brand:hover { background:var(--brand-hover); transform:translateY(-2px); box-shadow:0 14px 28px rgba(34,197,94,0.32); }
.btn-brand:active { transform:translateY(0); }
.btn-secondary { background:rgba(255,255,255,0.06); color:var(--text-header); border:1px solid rgba(255,255,255,0.08); }
.btn-secondary:hover { background:rgba(255,255,255,0.1); transform:translateY(-2px); }

/* TOAST */
.toast-container { position:fixed; bottom:24px; right:24px; z-index:9999; display:flex; flex-direction:column; gap:8px; pointer-events:none; }
.toast {
    background:var(--bg-card); border:1px solid rgba(255,255,255,0.09); border-left:3px solid var(--brand);
    border-radius:10px; padding:11px 16px; color:var(--text-header); font-weight:600; font-size:0.875rem;
    box-shadow:var(--shadow-lg); max-width:260px; pointer-events:auto;
    animation:toastIn 0.3s cubic-bezier(0.175,0.885,0.32,1.275) forwards;
}
.toast.out { animation:toastOut 0.25s ease forwards; }

/* DROPDOWN */
.dropdown { position:relative; display:inline-flex; vertical-align:middle; width:100%; }
.dropdown-menu {
    display:none; position:absolute; top:calc(100% + 10px); left:50%; transform:translateX(-50%);
    background:var(--bg-floating); width:100%; min-width:240px; max-width:92vw;
    border-radius:14px; box-shadow:0 16px 40px rgba(0,0,0,0.55); border:1px solid rgba(255,255,255,0.07);
    z-index:10000; overflow:hidden; flex-direction:column;
}
.dropdown-menu::before {
    content:''; position:absolute; top:-6px; left:50%; transform:translateX(-50%) rotate(45deg);
    width:12px; height:12px; background:var(--bg-floating);
    border-left:1px solid rgba(255,255,255,0.07); border-top:1px solid rgba(255,255,255,0.07);
}
.dropdown-menu.show { display:flex; animation:dropdownIn 0.2s cubic-bezier(0.175,0.885,0.32,1.275); }
.dropdown-header { padding:9px 14px; font-size:0.68rem; text-transform:uppercase; letter-spacing:0.09em; font-weight:800; color:var(--text-muted); background:rgba(0,0,0,0.2); border-bottom:1px solid rgba(255,255,255,0.05); }
.dropdown-search-wrapper { padding:9px; border-bottom:1px solid rgba(255,255,255,0.05); }
.dropdown-search { width:100%; background:rgba(0,0,0,0.3); border:1px solid rgba(255,255,255,0.07); padding:7px 11px; border-radius:7px; color:var(--text-normal); font-family:var(--font-primary); font-size:0.875rem; outline:none; transition:border-color 0.2s; }
.dropdown-search:focus { border-color:var(--brand); }
.dropdown-list-container { max-height:230px; overflow-y:auto; }
.dropdown-item { padding:10px 14px; color:var(--text-normal); cursor:pointer; display:flex; align-items:center; gap:10px; font-size:0.9rem; font-weight:500; transition:background 0.12s; }
.dropdown-item:hover { background:var(--modifier-hover); color:#fff; }
.dropdown-item img { width:20px; height:20px; border-radius:5px; object-fit:contain; }

/* NAVBAR */
.navbar {
    background:rgba(13,14,16,0.82); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
    padding:0 2rem; position:sticky; top:0; z-index:1000;
    display:flex; justify-content:center;
    height:var(--nav-height); border-bottom:1px solid rgba(255,255,255,0.04);
    transition:border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled { border-bottom-color:rgba(255,255,255,0.07); box-shadow:0 8px 32px rgba(0,0,0,0.4); }
.nav-inner { width:100%; max-width:1200px; display:flex; justify-content:space-between; align-items:center; }
.nav-brand { font-weight:900; font-size:1.45rem; letter-spacing:-0.03em; color:var(--text-header); flex-shrink:0; display:flex; align-items:center; gap:0; }
.nav-brand > .brand-text { color:var(--text-header); line-height:1; }
.nav-brand > .brand-text > span { color:var(--brand); }
.nav-favicon { width:26px; height:26px; display:block; flex-shrink:0; margin-right:8px; }
.nav-links { display:flex; gap:2px; align-items:center; }
.nav-link { color:var(--text-muted); font-weight:600; font-size:0.875rem; padding:6px 13px; border-radius:8px; transition:color 0.15s, background 0.15s; }
.nav-link:hover { color:var(--text-header); background:rgba(255,255,255,0.05); }
.nav-link.active { color:var(--brand); }

.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; border-radius:8px; background:none; border:none; }
.hamburger:hover { background:rgba(255,255,255,0.06); }
.hamburger span { display:block; width:21px; height:2px; background:var(--text-muted); border-radius:2px; transition:all 0.25s; }
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display:none; position:fixed; top:var(--nav-height); left:0; right:0;
    background:rgba(13,14,16,0.97); backdrop-filter:blur(24px);
    border-bottom:1px solid rgba(255,255,255,0.06);
    flex-direction:column; padding:0.75rem 1.25rem 1rem; gap:2px; z-index:999;
    animation:fadeInUp 0.18s ease;
}
.mobile-menu.open { display:flex; }
.mobile-menu .nav-link { padding:11px 14px; font-size:0.95rem; }

/* BACKGROUND */
.bg-container { position:fixed; top:0; left:0; width:100%; height:100%; pointer-events:none; z-index:0; overflow:hidden; }
.bg-orb { position:absolute; border-radius:50%; filter:blur(90px); opacity:0.065; }
.bg-orb-1 { width:700px; height:700px; background:var(--brand); top:-150px; right:-150px; animation:orb 22s ease-in-out infinite; }
.bg-orb-2 { width:550px; height:550px; background:#7c3aed; bottom:50px; left:-150px; animation:orb 28s ease-in-out infinite reverse; }
.bg-orb-3 { width:350px; height:350px; background:#0ea5e9; top:45%; right:25%; animation:orb 35s ease-in-out infinite; }
.bg-grid {
    position:absolute; inset:0;
    background-image:linear-gradient(rgba(255,255,255,0.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.018) 1px,transparent 1px);
    background-size:60px 60px;
    mask-image:radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
    -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}
.pfp-column { position:absolute; width:78px; top:-10px; bottom:-10px; opacity:0.055; mask-image:linear-gradient(to bottom,transparent,black 20%,black 80%,transparent); -webkit-mask-image:linear-gradient(to bottom,transparent,black 20%,black 80%,transparent); }
.col-left { left:3.5%; } .col-right { right:3.5%; }
.pfp-track { display:flex; flex-direction:column; gap:14px; animation:scrollCol 95s linear infinite; }
.bg-pfp { width:78px; height:78px; border-radius:18px; background:var(--bg-secondary); object-fit:cover; filter:grayscale(80%) contrast(0.9); }

/* VIEWS */
.view-container { display:none; width:100%; max-width:1200px; margin:0 auto; padding:5rem 1.5rem 5rem; position:relative; z-index:1; flex:1; }
.view-container.active { display:block; animation:fadeInUp 0.45s cubic-bezier(0.16,1,0.3,1); }

/* HERO */
.hero-section {
    display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center;
    margin-bottom:4rem; min-height:calc(100vh - var(--nav-height) - 10rem);
}
.hero-left { display:flex; flex-direction:column; gap:1.5rem; }
.hero-eyebrow {
    display:inline-flex; align-items:center; gap:8px;
    background:var(--brand-dim); border:1px solid rgba(34,197,94,0.22);
    padding:5px 13px; border-radius:99px; font-size:0.775rem; font-weight:700;
    color:var(--brand); width:fit-content; letter-spacing:0.02em;
}
.eyebrow-dot { width:6px; height:6px; background:var(--brand); border-radius:50%; animation:pulse 2s infinite; flex-shrink:0; }
.hero-title span { background:var(--brand-gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; display:inline-block; }
.hero-desc { font-size:1.05rem; color:var(--text-muted); max-width:480px; line-height:1.75; }
.hero-buttons { display:flex; gap:0.75rem; flex-wrap:wrap; align-items:center; }

/* DEMO CARD (uses .profile-card directly) */
.hero-right { display:flex; justify-content:center; align-items:center; position:relative; }
.demo-float { animation:float 6s ease-in-out infinite; position:relative; }
.demo-glow { position:absolute; inset:-40px; background:radial-gradient(ellipse at center, rgba(34,197,94,0.14), transparent 70%); border-radius:50%; pointer-events:none; }
#demoContainer .profile-card { box-shadow:0 32px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06); cursor:default; }
#demoContainer .profile-card:hover { transform:none; box-shadow:0 32px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06); }
.demo-scene { display:flex; flex-direction:column; align-items:center; }
.demo-label {
    font-size:0.63rem; font-weight:800; letter-spacing:0.18em; text-transform:uppercase;
    color:rgba(255,255,255,0.45); margin-bottom:14px;
    transition:color 0.55s ease, text-shadow 0.55s ease;
    user-select:none;
}
.demo-label.active { color:var(--brand); text-shadow:0 0 22px rgba(34,197,94,0.55); }

/* ── UPGRADE SEQUENCE ANIMATIONS ── */
@keyframes upgradeChargeRing {
    0%   { box-shadow:0 0 0 0px rgba(34,197,94,0), 0 0 0px rgba(34,197,94,0); }
    55%  { box-shadow:0 0 0 3px rgba(34,197,94,0.7), 0 0 20px 4px rgba(34,197,94,0.3); }
    100% { box-shadow:0 0 0 4px rgba(34,197,94,1),   0 0 38px 9px rgba(34,197,94,0.65); }
}
@keyframes upgradeGlowFade {
    0%   { box-shadow:0 0 0 4px rgba(34,197,94,1),   0 0 38px 9px rgba(34,197,94,0.65); }
    100% { box-shadow:0 0 0 0px rgba(34,197,94,0),   0 0 0px rgba(34,197,94,0); }
}
@keyframes upgradeDimFlash {
    0%   { filter:brightness(1) saturate(1) blur(0px); }
    72%  { filter:brightness(0.25) saturate(0.1) blur(0.5px); }
    100% { filter:brightness(9) saturate(0.2) blur(0px); }
}
@keyframes upgradeEmerge {
    0%   { transform:scale(0.1); filter:brightness(4) saturate(2) blur(4px); opacity:0; }
    16%  { opacity:1; filter:brightness(2.2) saturate(1.6) blur(1px); }
    60%  { transform:scale(1.1); filter:brightness(1.25) saturate(1.1) blur(0px); }
    76%  { transform:scale(0.965); }
    88%  { transform:scale(1.015); }
    100% { transform:scale(1); filter:brightness(1) saturate(1) blur(0px); }
}
@keyframes upgradeRipple {
    0%   { transform:translate(-50%,-50%) scale(0.85); opacity:0.8; }
    100% { transform:translate(-50%,-50%) scale(2.9);  opacity:0; }
}
@keyframes labelSlideUp {
    from { opacity:0; transform:translateY(7px); }
    to   { opacity:1; transform:translateY(0); }
}

.upgrade-charge-ring { animation:upgradeChargeRing 520ms cubic-bezier(0.4,0,0.85,1) forwards !important; }
.upgrade-glow-fade   { animation:upgradeGlowFade   920ms ease-out forwards !important; }
.upgrade-dim-flash   { animation:upgradeDimFlash   520ms cubic-bezier(0.4,0,0.85,1) forwards !important; transition:none !important; }
.upgrade-emerge      { animation:upgradeEmerge     840ms cubic-bezier(0.22,1.18,0.36,1) forwards !important; transition:none !important; }
.upgrade-ripple {
    position:absolute; top:50%; left:50%; z-index:20; pointer-events:none;
    width:92px; height:92px; border-radius:50%;
    border:2.5px solid rgba(34,197,94,0.8);
    animation:upgradeRipple 680ms ease-out forwards;
}
.demo-label-in { animation:labelSlideUp 380ms cubic-bezier(0.22,1,0.36,1) forwards; }

/* STATS */
.stats-bar { display:flex; justify-content:center; gap:1rem; margin-bottom:5.5rem; flex-wrap:wrap; }
.stat-item { background:var(--bg-card); border:1px solid rgba(255,255,255,0.05); border-radius:14px; padding:1.2rem 1.75rem; text-align:center; flex:1; min-width:150px; max-width:210px; transition:border-color 0.2s,transform 0.2s; }
.stat-item:hover { border-color:rgba(34,197,94,0.18); transform:translateY(-4px); }
.stat-value { font-size:1.9rem; font-weight:900; color:var(--brand); line-height:1; letter-spacing:-0.03em; margin-bottom:4px; }
.stat-label { font-size:0.73rem; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.07em; }

/* SECTION LABEL */
.section-label { display:inline-block; background:var(--brand-dim); border:1px solid rgba(34,197,94,0.2); color:var(--brand); font-size:0.72rem; font-weight:800; letter-spacing:0.1em; text-transform:uppercase; padding:4px 13px; border-radius:99px; margin-bottom:0.875rem; }

/* FEATURES */
.features-section { margin-bottom:5.5rem; text-align:center; }
.features-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-top:2.5rem; text-align:left; }
.feature-card { background:var(--bg-card); border:1px solid rgba(255,255,255,0.04); border-radius:var(--radius-lg); padding:1.6rem 1.4rem; transition:all 0.25s cubic-bezier(0.16,1,0.3,1); }
.feature-card:hover { border-color:rgba(34,197,94,0.14); transform:translateY(-6px); box-shadow:0 20px 40px rgba(0,0,0,0.22),0 0 0 1px rgba(34,197,94,0.07); background:#1a1e24; }
.feature-icon { width:42px; height:42px; background:var(--brand-dim); border:1px solid rgba(34,197,94,0.15); border-radius:11px; display:flex; align-items:center; justify-content:center; margin-bottom:1.1rem; }
.feature-icon svg { width:20px; height:20px; stroke:var(--brand); }
.feature-title { font-size:0.96rem; font-weight:700; color:var(--text-header); margin-bottom:0.45rem; }
.feature-desc { font-size:0.84rem; line-height:1.65; }

/* STEPS */
.steps-section { margin-bottom:5.5rem; position:relative; z-index:20; }
.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:2.5rem; }
.step-card { background:var(--bg-card); padding:1.875rem; border-radius:var(--radius-lg); border:1px solid rgba(255,255,255,0.04); display:flex; flex-direction:column; gap:0.875rem; transition:transform 0.2s,border-color 0.2s; position:relative; }
.step-card:hover { transform:translateY(-5px); border-color:rgba(34,197,94,0.12); }
.step-badge { display:inline-block; background:var(--brand-dim); border:1px solid rgba(34,197,94,0.22); color:var(--brand); font-size:0.68rem; font-weight:800; padding:3px 10px; border-radius:99px; letter-spacing:0.05em; width:fit-content; margin-bottom:0.25rem; }
.step-card h3 { font-size:1.1rem; }
.step-card p { font-size:0.875rem; }
.step-card a { color:var(--brand); font-weight:600; }
.step-card a:hover { text-decoration:underline; }
.code-inline { background:rgba(255,255,255,0.07); padding:2px 6px; border-radius:4px; font-family:var(--font-code); font-size:0.82em; }

/* MOD GRID */
.mod-section { text-align:center; margin-bottom:2rem; }
.mod-grid { display:flex; flex-wrap:wrap; gap:1rem; justify-content:center; max-width:860px; margin:2.25rem auto 0; }
.mod-btn { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; background:var(--bg-card); border:1px solid rgba(255,255,255,0.04); border-radius:14px; padding:0.5rem; width:96px; height:96px; cursor:pointer; transition:all 0.25s cubic-bezier(0.34,1.56,0.64,1); position:relative; overflow:hidden; flex-shrink:0; }
.mod-btn:hover { background:var(--brand); border-color:var(--brand); transform:translateY(-6px) scale(1.05); box-shadow:0 12px 24px rgba(34,197,94,0.28); }
.mod-btn img { width:40px; height:40px; object-fit:contain; border-radius:9px; flex-shrink:0; position:relative; z-index:2; }
.mod-label { font-size:0.68rem; font-weight:700; color:var(--text-muted); text-align:center; line-height:1.25; word-break:break-word; max-width:84px; position:relative; z-index:2; }
.mod-label-sm { font-size:0.61rem; }
.mod-label-xs { font-size:0.54rem; }
.mod-btn:hover .mod-label { color:rgba(255,255,255,0.88); }
.mod-btn.deprecated { opacity:0.42; filter:grayscale(0.75); }
.mod-btn.deprecated .mod-label { color:var(--text-muted); }
.mod-btn.deprecated:hover { opacity:0.7; filter:grayscale(0.4); background:rgba(255,255,255,0.04); border-color:rgba(255,255,255,0.08); transform:translateY(-3px) scale(1.02); box-shadow:var(--shadow-md); }
.mod-btn.deprecated:hover .mod-label { color:var(--text-muted); }
.modal-deprecated-warning { display:flex; align-items:flex-start; gap:10px; background:rgba(234,179,8,0.08); border:1px solid rgba(234,179,8,0.25); border-radius:10px; padding:12px 14px; margin-bottom:14px; }
.mdw-icon { font-size:1.3rem; flex-shrink:0; margin-top:1px; }
.mdw-text strong { display:block; color:rgba(234,179,8,0.95); font-size:0.83rem; font-weight:700; margin-bottom:3px; }
.mdw-text p { color:var(--text-muted); font-size:0.8rem; margin:0; line-height:1.5; }

/* STAFF */
.staff-header { text-align:center; margin-bottom:4rem; padding-top:1rem; }
.staff-header h1 { display:flex; align-items:center; justify-content:center; gap:0.6rem; }
.staff-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:20px; }
.profile-card { width:min(296px, calc(100vw - 32px)); background:#2b2d31; border-radius:10px; overflow:visible; box-shadow:0 8px 24px rgba(0,0,0,0.6); position:relative; transition:transform 0.25s cubic-bezier(0.16,1,0.3,1),box-shadow 0.25s; }
.profile-card:hover { transform:translateY(-6px); box-shadow:0 22px 48px rgba(0,0,0,0.65); }
.profile-banner { height:120px; background:#1e1f22; background-size:cover; background-position:center; border-radius:10px 10px 0 0; }
.profile-avatar-container { position:absolute; top:73px; left:16px; }
.profile-avatar { width:80px; height:80px; border-radius:50%; border:6px solid #2b2d31; background:#2b2d31; position:relative; z-index:10; }
.profile-avatar img.avatar-img { width:100%; height:100%; border-radius:50%; object-fit:cover; display:block; transition:opacity 0.42s ease; }
.profile-avatar img.profile-decoration { position:absolute; top:50%; left:50%; width:130%; height:130%; transform:translate(-50%,-50%); pointer-events:none; z-index:13; border-radius:0; object-fit:contain; border:none; }
.status-dot { position:absolute; bottom:0; right:0; width:16px; height:16px; border-radius:50%; border:4px solid #2b2d31; z-index:14; }
.status-online { background:#23a55a; }
.status-idle { background:#f0b232; }
.status-dnd { background:#f23f42; }
.status-offline { background:#80848e; }
.badge-container { position:absolute; top:126px; right:12px; display:flex; gap:3px; align-items:center; flex-wrap:wrap; justify-content:flex-end; max-width:165px; }
.badge-wrap { position:relative; display:flex; }
.badge-wrap::after { content:attr(data-tooltip); position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%); background:#111214; color:#dbdee1; font-size:0.75rem; font-weight:500; font-family:var(--font-primary); padding:5px 8px; border-radius:4px; white-space:nowrap; pointer-events:none; opacity:0; transition:opacity 0.15s; z-index:100; box-shadow:0 4px 12px rgba(0,0,0,0.6); border:1px solid rgba(255,255,255,0.06); }
.badge-wrap:hover::after { opacity:1; }
.badge-icon { width:22px; height:22px; object-fit:contain; cursor:default; }
.profile-body { margin-top:54px; padding:0 16px 16px; }
.profile-name-container { margin-bottom:0; }
.profile-displayname { font-size:1rem; font-weight:700; color:#f2f3f5; line-height:1.2; }
.profile-username { font-size:0.8rem; color:#b5bac1; margin-top:1px; }
.profile-custom-status { font-size:0.82rem; color:#dbdee1; margin-top:5px; display:flex; align-items:center; gap:4px; overflow:hidden; }
.activity-card { background:rgba(255,255,255,0.04); border-radius:8px; padding:10px 12px; margin-top:10px; }
.activity-type { font-weight:700; text-transform:uppercase; font-size:0.65rem; color:#b5bac1; margin-bottom:8px; letter-spacing:0.06em; }
.activity-row { display:flex; gap:10px; align-items:flex-start; }
.activity-icon { width:48px; height:48px; border-radius:6px; object-fit:cover; flex-shrink:0; }
.activity-info { display:flex; flex-direction:column; flex:1; overflow:hidden; gap:2px; }
.activity-title { font-weight:600; color:#f2f3f5; font-size:0.85rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.activity-subtitle { color:#b5bac1; font-size:0.78rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.profile-divider { height:1px; background:rgba(255,255,255,0.06); margin:12px 0; }
.profile-section-label { font-size:0.65rem; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:#b5bac1; margin-bottom:8px; }
.profile-roles { display:flex; flex-wrap:wrap; gap:6px; }
.role-badge { display:flex; align-items:center; gap:5px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.09); border-radius:4px; padding:3px 8px; font-size:0.78rem; color:#f2f3f5; font-weight:500; }
.role-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.emoji-inline { width:15px; height:15px; object-fit:contain; vertical-align:middle; margin-right:2px; }

/* SKELETON LOADING */
@keyframes sk-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.sk-shine { display:block; border-radius:6px; background:linear-gradient(90deg,rgba(255,255,255,0.04) 0%,rgba(255,255,255,0.09) 50%,rgba(255,255,255,0.04) 100%); background-size:200% 100%; animation:sk-shimmer 1.5s ease-in-out infinite; }
.profile-card.skeleton { pointer-events:none; overflow:hidden; }
.profile-card.skeleton .profile-banner { background:linear-gradient(90deg,rgba(255,255,255,0.04) 0%,rgba(255,255,255,0.09) 50%,rgba(255,255,255,0.04) 100%); background-size:200% 100%; animation:sk-shimmer 1.5s ease-in-out infinite; }
.profile-card.skeleton .profile-avatar { background:linear-gradient(90deg,rgba(255,255,255,0.05) 0%,rgba(255,255,255,0.11) 50%,rgba(255,255,255,0.05) 100%); background-size:200% 100%; animation:sk-shimmer 1.5s ease-in-out infinite 0.15s; }
.sk-body { margin-top:54px; padding:0 16px 16px; }

/* CARD FADE-IN */
@keyframes card-fade-in { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.profile-card:not(.skeleton) { animation:card-fade-in 0.42s cubic-bezier(0.16,1,0.3,1) both; }
#demoContainer .profile-card:not(.skeleton) { animation:card-fade-in 0.55s cubic-bezier(0.16,1,0.3,1) both; }

/* LEGAL PAGE */
.legal-container { max-width:800px; margin:0 auto; padding:5rem 1.5rem; }
.legal-container h1 { font-size:clamp(2rem,4vw,3rem); margin-bottom:0.5rem; }
.legal-meta { color:var(--text-muted); font-size:0.875rem; margin-bottom:3rem; }
.legal-section { margin-bottom:2.5rem; }
.legal-section h2 { font-size:1.3rem; font-weight:700; color:var(--text-header); margin-bottom:1rem; border-bottom:1px solid rgba(255,255,255,0.06); padding-bottom:0.5rem; }
.legal-section h3 { font-size:1rem; font-weight:700; color:var(--brand); margin-bottom:0.5rem; margin-top:1.25rem; }
.legal-section p, .legal-section li { color:var(--text-muted); font-size:0.95rem; line-height:1.75; }
.legal-section ul { padding-left:1.5rem; display:flex; flex-direction:column; gap:0.3rem; }
.legal-section a { color:var(--brand); }
.legal-section a:hover { text-decoration:underline; }
.legal-notice { background:var(--brand-dim); border:1px solid rgba(34,197,94,0.2); border-radius:10px; padding:1rem 1.25rem; margin-bottom:2rem; }
.legal-notice p { color:var(--brand); font-weight:600; font-size:0.9rem; margin:0; }

/* MODAL */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.82); z-index:2000; display:none; justify-content:center; align-items:center; padding:20px; backdrop-filter:blur(14px); }
.modal-overlay.open { display:flex; }
.modal-content { background:var(--bg-primary); border-radius:20px; width:100%; max-width:490px; box-shadow:var(--shadow-lg),0 0 0 1px rgba(255,255,255,0.06); display:flex; flex-direction:column; overflow:hidden; text-align:center; animation:modalIn 0.28s cubic-bezier(0.175,0.885,0.32,1.275) forwards; }
.modal-header-bg { background:var(--bg-deep); padding:1.875rem 2rem; display:flex; flex-direction:column; align-items:center; gap:0.875rem; border-bottom:1px solid rgba(255,255,255,0.05); position:relative; }
.modal-client-icon { width:68px; height:68px; background:var(--bg-secondary); border-radius:17px; padding:11px; object-fit:contain; box-shadow:var(--shadow-md); }
.modal-title-wrap h3 { font-size:1.4rem; }
.modal-title-wrap p { font-size:0.875rem; margin-top:0.2rem; }
.close-modal { position:absolute; top:1rem; right:1rem; background:rgba(255,255,255,0.06); border-radius:50%; width:30px; height:30px; display:flex; align-items:center; justify-content:center; border:none; color:var(--text-muted); font-size:1.35rem; line-height:1; cursor:pointer; transition:all 0.18s; }
.close-modal:hover { background:rgba(255,255,255,0.12); color:var(--text-header); }
.wizard-dots { display:flex; gap:5px; justify-content:center; padding:14px 0 0; }
.wdot { width:6px; height:6px; border-radius:99px; background:rgba(255,255,255,0.14); transition:all 0.25s; }
.wdot.on { background:var(--brand); width:18px; }
.modal-body { padding:1.875rem; display:flex; flex-direction:column; align-items:center; min-height:170px; }
.wizard-step { display:none; flex-direction:column; align-items:center; gap:1.25rem; animation:fadeInUp 0.22s ease; width:100%; }
.wizard-step.active { display:flex; }
.wizard-text { font-size:0.975rem; line-height:1.7; color:var(--text-normal); max-width:380px; }
.wizard-text b { color:var(--text-header); }
.code-window { background:var(--bg-deep); border-radius:10px; border:1px solid rgba(255,255,255,0.06); overflow:hidden; width:100%; text-align:left; }
.code-header { background:rgba(255,255,255,0.025); padding:7px 13px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid rgba(255,255,255,0.05); }
.code-lang { font-family:var(--font-code); font-size:0.68rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.07em; }
.copy-code-btn { background:transparent; border:none; color:var(--brand); font-weight:700; font-size:0.75rem; cursor:pointer; display:flex; align-items:center; gap:5px; transition:opacity 0.15s; }
.copy-code-btn:hover { opacity:0.75; }
.code-content { padding:13px 15px; font-family:var(--font-code); font-size:0.78rem; color:#8ec8ff; overflow-x:auto; white-space:pre-wrap; word-break:break-all; }
.btn-link { display:inline-flex; align-items:center; gap:8px; background:var(--brand-dim); padding:11px 22px; border-radius:9px; font-weight:700; color:var(--brand); border:1px solid rgba(34,197,94,0.2); transition:all 0.2s; font-size:0.9rem; }
.btn-link:hover { background:rgba(34,197,94,0.2); transform:translateY(-2px); }
.wizard-nav { display:flex; gap:0.75rem; margin-top:0.5rem; justify-content:center; }
.btn-wizard { padding:9px 22px; border-radius:99px; font-weight:700; font-size:0.875rem; border:none; cursor:pointer; transition:0.18s; }
.btn-prev { background:rgba(255,255,255,0.06); color:var(--text-muted); }
.btn-prev:hover { background:rgba(255,255,255,0.1); color:var(--text-normal); }
.btn-next { background:var(--brand); color:#fff; }
.btn-next:hover { background:var(--brand-hover); }

/* FOOTER */
.footer { margin-top:auto; padding:2.5rem 2rem; background:var(--bg-deep); border-top:1px solid rgba(255,255,255,0.04); position:relative; z-index:1; }
.footer-inner { max-width:1200px; margin:0 auto; display:flex; flex-direction:column; align-items:center; gap:1.25rem; }
.footer-brand { font-weight:900; font-size:1.2rem; letter-spacing:-0.03em; color:var(--text-header); }
.footer-brand span { color:var(--brand); }
.footer-links { display:flex; gap:1.75rem; flex-wrap:wrap; justify-content:center; }
.footer-links a { color:var(--text-muted); font-size:0.875rem; font-weight:600; }
.footer-links a:hover { color:var(--brand); }
.partner-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(0,0,0,0.28); border:1px solid rgba(255,255,255,0.07); border-radius:99px; padding:6px 15px; transition:all 0.2s; }
.partner-badge:hover { border-color:rgba(34,197,94,0.28); transform:scale(1.03); }
.partner-badge span { color:#fff; font-weight:700; font-size:0.82rem; }
.footer-copy { color:var(--text-muted); font-size:0.78rem; opacity:0.55; }

/* LOADER */
.loader { width:42px; height:42px; border:3px solid rgba(255,255,255,0.06); border-top-color:var(--brand); border-radius:50%; animation:spin 0.75s infinite linear; margin:56px auto; }

/* FOCUS / ACCESSIBILITY */
* { outline:none; }
:focus-visible { outline:2px solid var(--brand); outline-offset:3px; border-radius:4px; }
.btn:focus-visible { outline-offset:4px; }
.mod-btn:focus-visible { outline:none; border-color:var(--brand); box-shadow:0 0 0 3px rgba(34,197,94,0.35); }
.hamburger:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.nav-link:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }

/* SCROLL OFFSET (stops sticky nav from hiding #steps anchor) */
#steps { scroll-margin-top:calc(var(--nav-height) + 1rem); }

/* BACK TO TOP */
.back-to-top { position:fixed; bottom:84px; right:24px; width:42px; height:42px; background:var(--bg-card); border:1px solid rgba(255,255,255,0.08); border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:200; opacity:0; transform:translateY(12px); transition:opacity 0.25s,transform 0.25s,background 0.2s,border-color 0.2s; pointer-events:none; color:var(--text-muted); }
.back-to-top.visible { opacity:1; transform:translateY(0); pointer-events:auto; }
.back-to-top:hover { background:var(--brand-dim); color:var(--brand); border-color:rgba(34,197,94,0.3); transform:translateY(-3px); }

/* RESPONSIVE */
@media (max-width:1024px) {
    .features-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
    .pfp-column { display:none; }
    .navbar { padding:0 1.25rem; }
    .nav-links { display:none; }
    .hamburger { display:flex; }
    .view-container { padding:3rem 1.25rem; }
    .hero-section { grid-template-columns:1fr; text-align:center; min-height:auto; gap:2rem; margin-bottom:2.5rem; }
    .hero-left { align-items:center; }
    .hero-eyebrow { margin:0 auto; }
    .hero-desc { max-width:100%; }
    .hero-buttons { justify-content:center; }
    .hero-right { order:-1; }
    .steps-grid { grid-template-columns:1fr; }
    .stats-bar { gap:0.75rem; }
    .stat-item { min-width:130px; }
    .staff-grid { gap:16px; }
    .legal-container { padding:3rem 1.25rem; }
    .mod-grid { gap:0.75rem; }
}
@media (max-width:600px) {
    .features-grid { grid-template-columns:repeat(2,1fr); gap:0.75rem; }
    .stat-item { min-width:0; flex:1 1 calc(50% - 0.375rem); max-width:none; }
    .mod-btn { width:80px; height:80px; }
    .mod-btn img { width:34px; height:34px; }
    .staff-grid { gap:12px; }
    .steps-grid { gap:1rem; }
}
@media (max-width:520px) {
    .hero-right { display:none; }
    .hero-section { margin-bottom:2rem; }
    .hero-buttons { flex-direction:column; width:100%; }
    .hero-buttons .btn { width:100%; justify-content:center; }
    .features-grid { grid-template-columns:1fr; gap:0.75rem; }
    .stat-value { font-size:1.5rem; }
    .stat-item { padding:1rem 1.25rem; }
    .modal-overlay { align-items:flex-end; padding:0; }
    .modal-content { border-radius:20px 20px 0 0; max-width:100%; max-height:88vh; overflow-y:auto; animation:modalSlideUp 0.32s cubic-bezier(0.175,0.885,0.32,1.275) forwards; }
    .footer-links { gap:1rem; }
    .mod-section h2, .features-section h2, .steps-section h2 { font-size:1.5rem; }
    .step-card { padding:1.25rem; }
}
@media (max-width:380px) {
    h1 { font-size:clamp(2rem,9vw,2.8rem); }
    .mod-btn { width:68px; height:68px; }
    .mod-btn img { width:30px; height:30px; }
    .mod-grid { gap:0.5rem; }
    .profile-card { width:calc(100vw - 24px); }
    .stat-item { padding:0.75rem; }
    .hero-left { gap:1.25rem; }
    .step-card { padding:1rem; }
}
@media (max-width:520px) {
    .toast-container { right:50%; transform:translateX(50%); bottom:20px; }
    .back-to-top { right:50%; transform:translateX(50%) translateY(12px); bottom:72px; }
    .back-to-top.visible { transform:translateX(50%) translateY(0); }
    .back-to-top:hover { transform:translateX(50%) translateY(-3px); }
    .dropdown-menu { left:0; right:0; transform:none; min-width:0; }
    .dropdown-menu::before { display:none; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion:reduce) {
    *, *::before, *::after { animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
    .reveal { opacity:1; transform:none; transition:none; }
    .pfp-track { animation:none; }
    .demo-float { animation:none; }
}
