:root {
    --px-bg: #050a12;
    --px-bg-2: #08111e;
    --px-panel: rgba(255,255,255,.055);
    --px-panel-2: rgba(255,255,255,.035);
    --px-border: rgba(255,255,255,.105);
    --px-border-strong: rgba(125,241,255,.25);
    --px-text: #f3f7ff;
    --px-muted: #91a3ba;
    --px-accent: #7df1ff;
    --px-accent-2: #8f7cff;
    --px-accent-3: #4de2ae;
}

html { scroll-behavior: smooth; }
body {
    background:
        radial-gradient(circle at 15% 8%, rgba(92, 124, 255, .16), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(125, 241, 255, .10), transparent 26%),
        linear-gradient(180deg, #050a12 0%, #07101c 48%, #050a12 100%);
    color: var(--px-text);
    min-height: 100vh;
    overflow-x: hidden;
}

.site-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .2;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), transparent 82%);
}

.navbar-blur {
    background: rgba(5, 10, 18, .76);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: inline-grid;
    place-items: center;
    font-weight: 900;
    letter-spacing: -.06em;
    color: #041018;
    background: linear-gradient(135deg, #d6fbff 0%, var(--px-accent) 55%, #7bd8ff 100%);
    box-shadow: 0 12px 34px rgba(110,231,255,.2);
}
.brand-word { letter-spacing: -.03em; font-size: 1.15rem; }
.nav-links a { color: #aebed2; text-decoration: none; transition: .2s ease; }
.nav-links a:hover { color: #fff; }

.hero {
    padding: 9rem 0 5.25rem;
    position: relative;
    overflow: hidden;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .5; pointer-events: none; }
.hero-orb-one { width: 440px; height: 440px; left: -230px; top: 80px; background: radial-gradient(circle, rgba(125,241,255,.12), transparent 68%); }
.hero-orb-two { width: 520px; height: 520px; right: -240px; top: -80px; background: radial-gradient(circle, rgba(143,124,255,.16), transparent 68%); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .86rem;
    border: 1px solid var(--px-border);
    background: rgba(255,255,255,.035);
    border-radius: 999px;
    color: #cbd8e8;
    font-size: .76rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--px-accent-3); box-shadow: 0 0 0 6px rgba(77,226,174,.08), 0 0 16px rgba(77,226,174,.55); display: inline-block; }

.hero h1 {
    max-width: 900px;
    font-size: clamp(3rem, 6.5vw, 6rem);
    line-height: .95;
    letter-spacing: -.06em;
    font-weight: 800;
    margin: 1.35rem 0 1.5rem;
}
.gradient-text {
    background: linear-gradient(95deg, #ffffff 0%, #b8f6ff 38%, #9b8cff 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-copy { max-width: 760px; color: var(--px-muted); font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.75; }
.hero-trust { color: #75899f; font-size: .88rem; display: flex; align-items: center; gap: .5rem; }

.btn-puxtar { border: 0; color: #061018; font-weight: 750; background: linear-gradient(135deg, #d9fbff, #78ecfb); box-shadow: 0 14px 38px rgba(110,231,255,.13); }
.btn-puxtar:hover { color: #061018; filter: brightness(1.04); transform: translateY(-1px); }
.btn-ghost { color: #e8f0fb; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.025); }
.btn-ghost:hover { color: #fff; border-color: rgba(125,241,255,.28); background: rgba(125,241,255,.06); }

.network-visual {
    border: 1px solid var(--px-border);
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
    box-shadow: 0 35px 90px rgba(0,0,0,.3);
    position: relative;
}
.network-visual::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(125,241,255,.04), transparent 35%, rgba(143,124,255,.05)); pointer-events: none; }
.visual-topline, .visual-footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; font-size: .7rem; letter-spacing: .12em; color: #8da1ba; }
.visual-topline { border-bottom: 1px solid rgba(255,255,255,.07); }
.live-chip { display: inline-flex; align-items: center; gap: .45rem; color: #bfffe8; }
.live-chip span { width: 6px; height: 6px; background: var(--px-accent-3); border-radius: 50%; box-shadow: 0 0 12px rgba(77,226,174,.65); }
.orbit-board { height: 360px; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at center, rgba(125,241,255,.07), transparent 52%); }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.orbit-a { width: 220px; height: 220px; }
.orbit-b { width: 330px; height: 330px; border-style: dashed; }
.network-center { width: 104px; height: 104px; border-radius: 28px; display: grid; place-items: center; align-content: center; border: 1px solid rgba(125,241,255,.28); background: linear-gradient(145deg, rgba(125,241,255,.16), rgba(143,124,255,.12)); box-shadow: 0 0 45px rgba(125,241,255,.12); z-index: 2; }
.network-center span { font-size: 2rem; font-weight: 900; line-height: 1; }
.network-center small { font-size: .58rem; letter-spacing: .18em; color: #9eb0c6; margin-top: .35rem; }
.node { position: absolute; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); background: #0d1724; color: #cef9ff; box-shadow: 0 12px 30px rgba(0,0,0,.28); z-index: 3; }
.node-1 { transform: translate(-122px,-92px); }
.node-2 { transform: translate(118px,-110px); }
.node-3 { transform: translate(146px,70px); }
.node-4 { transform: translate(-139px,78px); }
.node-5 { transform: translate(0,145px); }
.visual-footer { border-top: 1px solid rgba(255,255,255,.07); gap: 1rem; }
.visual-footer > div { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.visual-footer strong { color: #fff; font-size: 1.35rem; letter-spacing: -.04em; }
.visual-footer span { color: #73869c; font-size: .66rem; text-transform: uppercase; }

.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.028); }
.metric-box { padding: 1.2rem 1.35rem; display: flex; align-items: center; gap: 1rem; min-height: 96px; }
.metric-box + .metric-box { border-left: 1px solid rgba(255,255,255,.08); }
.metric-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(125,241,255,.075); color: #c8f9ff; border: 1px solid rgba(125,241,255,.13); }
.metric-box strong { display: block; font-size: 1.65rem; letter-spacing: -.04em; }
.metric-box small { color: #7f91a7; }

.section-space { padding: 5rem 0; }
.section-kicker { color: var(--px-accent); font-size: .72rem; letter-spacing: .15em; font-weight: 700; }
.section-title { font-size: clamp(2.35rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -.055em; font-weight: 780; }
.section-title-sm { font-size: clamp(2.1rem, 4vw, 3.5rem); }
.text-muted-px { color: var(--px-muted) !important; }
.directory-counter { display: inline-flex; padding: .65rem .95rem; border: 1px solid var(--px-border); border-radius: 999px; color: #8599b1; font-size: .8rem; }

.project-card {
    height: 100%;
    min-height: 390px;
    border: 1px solid var(--px-border);
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    border-radius: 24px;
    padding: 1.45rem;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
}
.project-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, rgba(125,241,255,.08), transparent 31%); opacity: 0; transition: .25s ease; }
.project-card:hover { transform: translateY(-7px); border-color: rgba(125,241,255,.25); box-shadow: 0 26px 70px rgba(0,0,0,.26); }
.project-card:hover::before { opacity: 1; }
.project-card.is-featured { border-color: rgba(125,241,255,.16); }
.card-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(125,241,255,.55), transparent); opacity: .65; }
.project-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.25rem; background: rgba(125,241,255,.075); border: 1px solid rgba(125,241,255,.14); color: #c7f9ff; }
.project-number { color: rgba(255,255,255,.17); font-weight: 800; font-size: 1.1rem; letter-spacing: .08em; }
.project-category { color: #9cf3ff; font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }
.mini-badge { color: #d9d4ff; border: 1px solid rgba(143,124,255,.24); background: rgba(143,124,255,.08); border-radius: 999px; padding: .2rem .48rem; font-size: .64rem; }
.project-tagline { color: #cad7e7; font-size: .96rem; font-weight: 600; }
.project-meta { display: flex; justify-content: space-between; gap: .7rem; align-items: center; padding-top: 1rem; margin-top: .2rem; border-top: 1px solid rgba(255,255,255,.07); }
.project-domain { display: flex; align-items: center; gap: .45rem; min-width: 0; color: #70849b; font-size: .76rem; }
.project-domain span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-label { display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.status-live { color: #78edc1; }
.status-live i { font-size: .48rem; }
.status-soon { color: #8999ad; }
.project-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; text-decoration: none; color: #f1fbff; font-weight: 700; font-size: .88rem; padding: .9rem 1rem; border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.075); transition: .2s ease; }
.project-link:hover { color: #061018; background: var(--px-accent); border-color: var(--px-accent); }
.project-link-muted { color: #71849a; cursor: default; }
.project-link-muted:hover { color: #71849a; background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.075); }

.network-panel { border: 1px solid var(--px-border); border-radius: 30px; padding: clamp(1.5rem, 4vw, 3.4rem); background: linear-gradient(135deg, rgba(255,255,255,.048), rgba(255,255,255,.022)); position: relative; overflow: hidden; }
.network-panel::after { content: ''; position: absolute; width: 380px; height: 380px; left: -180px; bottom: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(143,124,255,.12), transparent 68%); }
.category-pill { padding: .45rem .7rem; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); border-radius: 999px; color: #9eb0c6; font-size: .76rem; }
.chart-shell { border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: rgba(4,9,16,.46); overflow: hidden; }
.chart-head { display: flex; justify-content: space-between; padding: 1rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,.07); color: #768aa1; font-size: .68rem; letter-spacing: .12em; }
.bar-chart { padding: 1.2rem; display: grid; gap: 1.05rem; }
.bar-label { display: flex; justify-content: space-between; color: #adbed1; font-size: .78rem; margin-bottom: .42rem; }
.bar-label strong { color: #fff; }
.bar-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(125,241,255,.9), rgba(143,124,255,.8)); box-shadow: 0 0 18px rgba(125,241,255,.16); }
.chart-note { display: flex; align-items: center; gap: .55rem; padding: 1rem 1.1rem; border-top: 1px solid rgba(255,255,255,.07); color: #6f8399; font-size: .74rem; }

.cta-panel { border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); padding: 3rem 0; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.cta-panel h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.03; letter-spacing: -.05em; max-width: 820px; margin: .65rem 0 .8rem; }
.cta-panel p { color: var(--px-muted); margin: 0; max-width: 820px; }
.footer-shell { border-top: 1px solid rgba(255,255,255,.07); color: #718399; }
.footer-link { color: #94a8bf; text-decoration: none; }
.footer-link:hover { color: #fff; }

.admin-shell { max-width: 1180px; }
.admin-card { background: #fff; color: #172033; border: 1px solid #e8edf4; border-radius: 20px; box-shadow: 0 18px 55px rgba(4, 15, 32, .08); }
body.bg-light { background: #f5f7fb !important; color: #172033; }
body.bg-light .brand-mark { color: #061018; }

@media (max-width: 1199.98px) {
    .network-visual { max-width: 620px; }
}
@media (max-width: 991.98px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .metric-box:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
    .metric-box:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); }
    .cta-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767.98px) {
    .hero { padding: 7rem 0 4rem; }
    .hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
    .orbit-board { height: 320px; }
    .orbit-b { width: 290px; height: 290px; }
    .metrics-grid { grid-template-columns: 1fr; }
    .metric-box + .metric-box, .metric-box:nth-child(3), .metric-box:nth-child(4) { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
    .section-space { padding: 3.8rem 0; }
    .project-card { min-height: 0; }
}

/* Project screenshots */
.project-shot {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 1.25rem;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: #09121e;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.project-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease, filter .35s ease;
}
a.project-shot:hover img { transform: scale(1.025); filter: brightness(1.06); }
.shot-open {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #061018;
    background: rgba(125,241,255,.96);
    box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.project-shot-static::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(5,10,18,.42));
    pointer-events: none;
}
.shot-soon {
    position: absolute;
    left: .75rem;
    bottom: .75rem;
    z-index: 2;
    padding: .35rem .58rem;
    border-radius: 999px;
    font-size: .62rem;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #d4dfeb;
    background: rgba(5,12,21,.78);
    border: 1px solid rgba(255,255,255,.11);
    backdrop-filter: blur(10px);
}
.project-card { min-height: 560px; }
.admin-shot-preview {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #dfe6ee;
    background: #edf2f7;
    aspect-ratio: 16 / 10;
}
.admin-shot-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-list-shot {
    width: 116px;
    height: 74px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e1e7ef;
    background: #edf2f7;
    flex: 0 0 auto;
}
.min-w-0 { min-width: 0; }
@media (max-width: 767.98px) {
    .project-card { min-height: 0; }
    .admin-list-shot { width: 92px; height: 59px; }
}
