:root {
    --bg-main: #0a0a0a;
    --bg-card: #111113;
    --bg-inner: #18181b;
    --border: rgba(255,255,255,0.07);
    --border-bright: rgba(255,255,255,0.13);
    --accent: #3b82f6;
    --accent-glow: rgba(59,130,246,0.18);
    --success: #10b981;
    --purple: #7c3aed;
    --text-primary: #ffffff;
    --text-muted: rgba(255,255,255,0.42);
    --text-secondary: rgba(255,255,255,0.68);
    --font-main: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s;
}

a:hover {
    filter: brightness(1.2);
}

body {
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Dot grid */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

/* ── NAV ── */
.shop-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.shop-topbar-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
}

.shop-brand {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    text-decoration: none;
}

.shop-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 12px;
}

.shop-name { color: #fff; }
.shop-name span { color: var(--accent); }

/* ── DASHBOARD TOPBAR ── */
.dn-topbar {
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    height: 60px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    z-index: 900;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

body[data-layout="top"] .dn-topbar {
    left: 0;
}

@media (max-width: 768px) {
    .dn-topbar { display: none; }
}

.dn-topbar-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dn-topbar-left, .dn-topbar-right {
    display: flex;
    gap: 30px;
}

.dn-topbar-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.dn-topbar-link i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.dn-topbar-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.shop-topnav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.shop-topnav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s;
}

.shop-topnav a:hover, .shop-topnav a.active { color: #fff; }

.btn-primary {
    background: #fff !important;
    color: #000 !important;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 700 !important;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.88; }

.shop-topnav-balance {
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.shop-topnav-user {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ── PAGE ── */
.shop-page { position: relative; z-index: 1; padding-top: 60px; min-height: 100vh; display: block; }

/* ── HERO ── */
.hero {
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    background: transparent;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 1.0;
    margin-bottom: 24px;
    color: #fff;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-actions { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }

.btn-large {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid var(--border-bright);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover { background: rgba(255,255,255,0.05); color: #fff; }

/* ── FEATURES ── */
.features { padding: 80px 48px; max-width: 1280px; margin: 0 auto; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-decoration: none;
    color: #fff;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.feature:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(59,130,246,0.12);
    color: #93c5fd;
}

.feature h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0; color: #fff; }
.feature p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* ── FOOTER ── */
/* ── ALIASES FOR RESELLER PANEL ── */
.reseller-body .page, .reseller-body .shop-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    padding: 60px 0 0 0;
    min-height: 100vh;
}

.topbar, .shop-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.topbar-inner, .shop-topbar-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
}

.brand, .shop-brand {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    text-decoration: none;
}

.brand-mark { color: var(--accent); font-size: 1.5rem; margin-right: 8px; }
.brand-sub { color: var(--text-muted); font-size: 0.8rem; font-weight: 500; margin-left: 4px; }

.topbar-user { display: flex; align-items: center; gap: 20px; font-size: 0.85rem; }
.topbar-balance { color: var(--text-secondary); }
.topbar-balance strong { color: var(--accent); }
.topbar-username { font-weight: 600; color: #fff; }

.sidebar, .shop-sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    height: calc(100vh - 60px);
    position: sticky;
    top: 60px;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
}

.sidebar-nav, .shop-sidenav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav .nav-item, .shop-sidenav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.sidebar-nav .nav-item:hover, .shop-sidenav .nav-item:hover {
    background: rgba(255,255,255,0.03);
    color: #fff;
}

.sidebar-nav .nav-item.active, .shop-sidenav .nav-item.active {
    background: var(--accent-glow);
    color: var(--accent);
}

.sidebar-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.shop-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.shop-card-name { font-weight: 700; font-size: 0.85rem; margin-bottom: 4px; }
.shop-card-link { font-size: 0.75rem; color: var(--accent); text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-card-meta { font-size: 0.7rem; color: var(--text-muted); margin-top: 8px; }

.main-content, .shop-main {
    padding: 40px 48px;
    background: var(--bg-main);
    min-width: 0;
}

.page-footer, .shop-footer {
    border-top: 1px solid var(--border);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.8rem;
    max-width: 1280px;
    margin: 0 auto;
}

.shop-footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.shop-footer a:hover { color: #fff; }

/* ── DASHBOARD LAYOUT ── */
.shop-body .page, .shop-body .shop-page {
    display: block;
    min-height: 100vh;
}

/* ── SIDEBAR ── */
.shop-sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    height: calc(100vh - 60px);
    position: sticky;
    top: 60px;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
}

.shop-sidenav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shop-sidenav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.shop-sidenav .nav-item:hover {
    background: rgba(255,255,255,0.03);
    color: #fff;
}

.shop-sidenav .nav-item.active {
    background: var(--accent-glow);
    color: var(--accent);
}

.nav-icon {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.shop-main {
    padding: 40px 48px;
    background: var(--bg-main);
    min-width: 0;
}

/* ── CARDS & STATS ── */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.stat-meta {
    margin-top: 12px;
    font-size: 0.85rem;
}

.stat-meta a {
    color: var(--text-muted);
    text-decoration: none;
}

.stat-meta a:hover { color: #fff; }

/* ── TABLES ── */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(18, 18, 20, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.45);
}

.data-table th {
    text-align: left;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.data-table td {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.015);
    color: #fff;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Status Indicators inside tables */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
}

.status-online { color: #10b981; background: rgba(16, 185, 129, 0.1); }
.status-offline { color: #ef4444; background: rgba(239, 68, 68, 0.1); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

/* ── HEADINGS ── */
.page-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

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

/* ── PRICING ── */
.pricing-hero {
    text-align: center;
    padding: 80px 24px 40px;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 16px;
}

.pricing-section {
    padding: 40px 48px;
    max-width: 1280px;
    margin: 0 auto;
}

.pricing-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    text-decoration: none;
    color: #fff;
    transition: all 0.25s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
}

.pricing-card-popular {
    border-color: var(--accent);
}

.pricing-popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-amount {
    margin-bottom: 24px;
}

.pricing-amount-value {
    font-size: 2.5rem;
    font-weight: 900;
}

.pricing-amount-currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.pricing-amount-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-cta {
    background: #fff;
    color: #000;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    transition: all 0.2s;
}

.pricing-card:hover .pricing-cta {
    background: var(--accent);
    color: #fff;
}

/* ── AUTH ── */
.auth-container {
    max-width: 480px;
    margin: 80px auto;
    padding: 0 24px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
}

.auth-card h1 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 32px;
    text-align: center;
}

.auth-meta {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

.auth-meta a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* ── FORMS ── */
.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="number"],
.form select,
.form textarea {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form input:focus, .form select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
}

.alert-error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.alert-success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .shop-page {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        display: none;
    }
    .shop-main {
        padding: 40px 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PUBLIC PAGES — NEW LAYOUT (landing + pricing)
   All classes prefixed .px- and wrapped in .public-shell so they
   never collide with the dashboard grid rules above.
   ═══════════════════════════════════════════════════════════════ */
.public-shell {
    grid-column: 1 / -1;
    width: 100%;
    position: relative;
    color: var(--text-primary);
    padding-bottom: 40px;
}
.public-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(60% 50% at 10% 8%,  rgba(59,130,246,0.16), transparent 70%),
        radial-gradient(50% 40% at 92% 18%, rgba(124,58,237,0.13), transparent 70%),
        radial-gradient(80% 60% at 50% 100%, rgba(16,185,129,0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.public-shell > * { position: relative; z-index: 1; }

/* ── HERO (asymmetric split) ── */
.px-hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 48px 60px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
.px-hero-copy { max-width: 560px; }

.px-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 100px;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.28);
    color: var(--success);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 28px;
}
.px-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
    animation: px-pulse 2s ease-in-out infinite;
}
@keyframes px-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.px-hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -2.5px;
    line-height: 1.02;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.68) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.px-hero-body {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}
.px-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.px-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}
.px-btn-primary {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 12px 30px -10px var(--accent-glow);
}
.px-btn-primary:hover { transform: translateY(-2px); filter: brightness(1.1); }
.px-btn-ghost {
    background: rgba(255,255,255,0.04);
    color: #fff !important;
    border-color: var(--border-bright);
}
.px-btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* ── TERMINAL CODE BLOCK ── */
.px-code {
    background: #0d0d0f;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
    font-family: var(--font-mono);
    font-size: 0.82rem;
}
.px-code-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}
.px-code-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.px-code-dot:nth-child(1) { background: #ff5f57; }
.px-code-dot:nth-child(2) { background: #febc2e; }
.px-code-dot:nth-child(3) { background: #28c840; }
.px-code-name {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.72rem;
}
.px-code-body {
    padding: 22px 20px;
    color: var(--text-secondary);
    white-space: pre-wrap;
    line-height: 1.8;
    margin: 0;
    overflow-x: auto;
}
.px-code-cmt    { color: rgba(255,255,255,0.32); }
.px-code-prompt { color: var(--accent); font-weight: 700; }
.px-code-ok     { color: var(--success); font-weight: 700; }
.px-code-cursor {
    display: inline-block;
    width: 9px; height: 1em;
    background: var(--accent);
    vertical-align: -2px;
    animation: px-blink 1s step-end infinite;
}
@keyframes px-blink { 50% { opacity: 0; } }

/* ── STATS STRIP ── */
.px-stats {
    max-width: 1280px;
    margin: 0 auto 80px;
    padding: 32px 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.px-stat { text-align: center; }
.px-stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    font-family: var(--font-mono);
}
.px-stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* ── SECTION HEADS ── */
.px-section-head {
    max-width: 1280px;
    margin: 0 auto 40px;
    padding: 0 48px;
}
.px-section-kicker {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.px-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #fff;
    line-height: 1.1;
}

/* ── BENTO FEATURES ── */
.px-bento { padding: 20px 0 80px; }
.px-bento-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
}
.px-bento-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    color: #fff !important;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s;
    overflow: hidden;
    position: relative;
}
.px-bento-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(59,130,246,0.09), rgba(255,255,255,0.02));
}
.px-bento-lg {
    grid-column: span 2;
    grid-row: span 2;
    padding: 40px;
    justify-content: space-between;
}
.px-bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59,130,246,0.12);
    color: #93c5fd;
    font-size: 1.15rem;
}
.px-bento-lg .px-bento-icon { width: 64px; height: 64px; font-size: 1.6rem; }
.px-bento-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.px-bento-lg h3 { font-size: 1.9rem; letter-spacing: -0.8px; }
.px-bento-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}
.px-bento-lg p { font-size: 1rem; max-width: 440px; }
.px-bento-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ── CTA BLOCK ── */
.px-cta {
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 80px 48px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(59,130,246,0.1), transparent 70%);
    border-top: 1px solid var(--border);
}
.px-cta h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
    color: #fff;
}
.px-cta p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 32px;
}
.px-cta .px-hero-cta { justify-content: center; }

/* ── PRICING PAGE ── */
.px-pricing-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 48px 50px;
    text-align: center;
}
.px-pricing-hero .px-section-kicker {
    margin-bottom: 18px;
}
.px-pricing-hero .px-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin-bottom: 18px;
}
.px-pricing-hero .px-hero-body {
    max-width: 640px;
    margin: 0 auto;
}

/* ── TABS ── */
.px-tabs {
    max-width: 1280px;
    margin: 0 auto 32px;
    padding: 0 48px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}
.px-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    background: none;
    border: none;
    color: var(--text-muted);
    font: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
}
.px-tab:hover { color: #fff; }
.px-tab.is-active {
    color: #fff;
    border-bottom-color: var(--accent);
}

/* ── TAB PANELS ── */
.px-panel { display: none; }
.px-panel.is-active { display: block; animation: px-fade 0.3s ease-out; }
@keyframes px-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.px-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 48px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* ── PLAN CARDS ── */
.px-plan {
    background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    color: #fff !important;
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.25s;
    overflow: hidden;
}
.px-plan:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
}
.px-plan.is-featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(59,130,246,0.09), rgba(255,255,255,0.02));
}
.px-plan.is-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59,130,246,0.16), transparent 60%);
    pointer-events: none;
}
.px-plan-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
}
.px-plan-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
}
.px-plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 28px;
    position: relative;
}
.px-plan-cur {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 700;
    margin-right: 2px;
}
.px-plan-value {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
}
.px-plan-per {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 6px;
}
.px-plan-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
    position: relative;
}
.px-plan-specs li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.px-plan-specs li i { color: var(--accent); width: 16px; text-align: center; }
.px-plan-specs li:last-child { border-bottom: none; }
.px-plan-specs strong { color: #fff; font-weight: 800; }
.px-plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-bright);
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.2s;
    position: relative;
}
.px-plan:hover .px-plan-btn,
.px-plan.is-featured .px-plan-btn {
    background: var(--accent);
    border-color: var(--accent);
}
.px-panel-foot {
    max-width: 1280px;
    margin: 36px auto 0;
    padding: 0 48px;
    text-align: center;
}

/* ── RESPONSIVE (public pages) ── */
@media (max-width: 1000px) {
    .px-hero {
        grid-template-columns: 1fr;
        padding: 80px 24px 40px;
        gap: 48px;
    }
    .px-stats { grid-template-columns: repeat(2, 1fr); padding-left: 24px; padding-right: 24px; }
    .px-section-head,
    .px-bento-grid,
    .px-grid,
    .px-tabs,
    .px-panel-foot,
    .px-pricing-hero { padding-left: 24px; padding-right: 24px; }
    .px-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
    }
    .px-bento-lg { grid-column: span 2; grid-row: auto; }
    .px-cta { padding: 60px 24px; }
}
@media (max-width: 600px) {
    .px-bento-grid { grid-template-columns: 1fr; }
    .px-bento-lg   { grid-column: auto; }
    .px-stats      { grid-template-columns: 1fr 1fr; }
    .px-hero       { padding-top: 60px; }
}
