/* ─── PORTFOLIO PAGE STYLES ─── */

.portfolio-hero {
    padding: 10rem 0 4rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pf-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pf-orb-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08), transparent);
    top: -150px;
    right: -100px;
    filter: blur(80px);
}

.pf-orb-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent);
    bottom: 0;
    left: -100px;
    filter: blur(80px);
}

.pf-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.portfolio-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0.5rem 0;
}

/* FILTER TABS */
.portfolio-filter-section {
    padding: 1.5rem 0 0;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover {
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--neon-blue);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-color: transparent;
    color: white;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* PORTFOLIO GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-card-wide {
    grid-column: span 2;
}

.portfolio-card {
    overflow: hidden;
    cursor: default;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-card.hidden {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* PORT PREVIEW */
.port-preview {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}

.port-preview-wide {
    height: 240px;
}

.port-preview-inner {
    width: 100%;
    height: 100%;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* PORT OVERLAY */
.port-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-med);
}

.portfolio-card:hover .port-overlay {
    opacity: 1;
}

.port-overlay-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.port-tech-stack {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.port-tech-stack span {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
}

.btn-sm {
    font-size: 0.68rem;
    padding: 0.6rem 1.4rem;
}

/* WEB DEMO */
.web-demo {
    background: #0d1220;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.bb-dot.red {
    background: #ff5f57;
}

.bb-dot.yellow {
    background: #febc2e;
}

.bb-dot.green {
    background: #28c840;
}

.bb-url {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.web-preview-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.wp-nav {
    height: 8px;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 4px;
}

.wp-hero {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.4rem 0;
}

.wp-h-title {
    height: 10px;
    width: 70%;
    background: rgba(0, 212, 255, 0.25);
    border-radius: 4px;
}

.wp-h-sub {
    height: 7px;
    width: 50%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.wp-h-btn {
    height: 14px;
    width: 80px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.5), rgba(139, 92, 246, 0.5));
    border-radius: 20px;
    margin-top: 0.3rem;
}

.wp-cards {
    display: flex;
    gap: 0.4rem;
}

.wp-card {
    flex: 1;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
}

/* DASHBOARD DEMO */
.dashboard-demo {
    background: #0a0e1a;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.65rem;
}

.dash-logo {
    font-family: var(--font-display);
    color: var(--neon-blue);
    font-size: 0.7rem;
}

.dash-status {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #22c55e;
    font-size: 0.6rem;
}

.dash-dot {
    width: 5px;
    height: 5px;
    background: #22c55e;
    border-radius: 50%;
    animation: floatPulse 2s infinite;
}

.dash-stats-row {
    display: flex;
    gap: 0.5rem;
}

.dash-stat-card {
    flex: 1;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
}

.dash-stat-card.blue {
    border-color: rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.05);
}

.dash-stat-card.purple {
    border-color: rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.05);
}

.dsc-num {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--text-primary);
}

.dsc-label {
    font-size: 0.55rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 55px;
    margin-top: 0.3rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.6), rgba(139, 92, 246, 0.4));
    border-radius: 2px 2px 0 0;
}

/* CRM DEMO */
.crm-demo {
    background: #0a0e1a;
    flex-direction: row;
    gap: 0.5rem;
}

.crm-sidebar {
    width: 70px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-shrink: 0;
}

.cs-item {
    font-size: 0.55rem;
    padding: 0.3rem 0.4rem;
    border-radius: 5px;
    color: var(--text-muted);
}

.cs-item.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--neon-blue);
}

.crm-main {
    flex: 1;
}

.crm-pipeline {
    display: flex;
    gap: 0.4rem;
    height: 100%;
}

.pipe-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.pipe-head {
    font-size: 0.55rem;
    color: var(--text-muted);
    padding: 0.2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0.2rem;
}

.pipe-item {
    height: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 5px;
}

.pipe-item.blue {
    background: rgba(0, 212, 255, 0.07);
    border-color: rgba(0, 212, 255, 0.15);
}

.pipe-item.green {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.2);
}

/* CHATBOT DEMO */
.chatbot-demo {
    background: #0a0e1a;
}

.cb-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cb-avatar {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.cb-name {
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: var(--text-primary);
}

.cb-stat {
    font-size: 0.55rem;
    color: #22c55e;
}

.cb-conversation {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.cb-msg {
    font-size: 0.65rem;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    max-width: 85%;
}

.cb-msg.bot {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.12);
    align-self: flex-start;
    color: var(--text-primary);
}

.cb-msg.user {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.15);
    align-self: flex-end;
    color: var(--text-primary);
}

/* ADMIN DEMO */
.admin-demo {
    background: #0a0e1a;
    padding: 0;
}

.ad-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.8rem;
    background: rgba(0, 212, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ad-logo {
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: var(--neon-blue);
}

.ad-nav-items {
    display: flex;
    gap: 0.6rem;
}

.ad-ni {
    font-size: 0.55rem;
    color: var(--text-muted);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
}

.ad-ni.active {
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.08);
}

.ad-content {
    padding: 0.6rem;
}

.ad-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0.5rem;
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ad-th {
    font-size: 0.55rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ad-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ad-td {
    font-size: 0.62rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

.ad-avatar-sm {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
}

.ad-avatar-sm.purple {
    background: rgba(139, 92, 246, 0.4);
}

.ad-avatar-sm.blue {
    background: rgba(14, 165, 233, 0.4);
}

.ad-badge {
    font-size: 0.55rem;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
}

.ad-badge.green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.ad-badge.yellow {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

/* LEAD DEMO */
.lead-demo {
    background: #0a0e1a;
}

.lead-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.lead-title {
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: var(--text-primary);
}

.lead-live {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.6rem;
    color: #22c55e;
}

.lead-dot {
    width: 5px;
    height: 5px;
    background: #22c55e;
    border-radius: 50%;
}

.lead-stages {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.ls-stage {
    flex: 1;
    text-align: center;
}

.ls-arrow {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ls-head {
    font-size: 0.55rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.ls-count {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ls-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 0.3rem;
}

.ls-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    border-radius: 2px;
}

.ls-fill.purple {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-violet));
}

.ls-fill.green {
    background: #22c55e;
}

.lead-insight {
    font-size: 0.65rem;
    color: var(--text-secondary);
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
}

.lead-insight span {
    color: var(--neon-blue);
}

/* PORT INFO */
.port-info {
    padding: 1.5rem;
}

.port-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.port-cat {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

.port-year {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-display);
}

.port-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.port-info>p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.port-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.port-tags span {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

.featured-badge {
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

/* CTA reuse */
.cta-section {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12), transparent);
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
}

.cta-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent);
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
}

.cta-inner {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xl);
    padding: 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
}

.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin: 1rem 0 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-family: var(--font-thin);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card-wide {
        grid-column: span 1;
    }

    .cta-inner {
        padding: 3rem 1.5rem;
    }
}

/* ═══════════════ DEMO MODAL CSS ═══════════════ */
.demo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 9, 26, 0.92);
    backdrop-filter: blur(16px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.demo-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.demo-modal-box {
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    background: rgba(13, 18, 32, 0.98);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.1), 0 40px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.demo-modal-overlay.open .demo-modal-box {
    transform: scale(1) translateY(0);
}

.demo-modal-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00D4FF, #8B5CF6, transparent);
    pointer-events: none;
}

.demo-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.demo-modal-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #F0F4FF;
    white-space: nowrap;
}

.demo-modal-tabs {
    display: flex;
    gap: 0.4rem;
    flex: 1;
    flex-wrap: wrap;
}

.demo-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 0.32rem 0.8rem;
    font-size: 0.7rem;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Space Grotesk', sans-serif;
}

.demo-tab:hover {
    border-color: rgba(0, 212, 255, 0.3);
    color: #00D4FF;
}

.demo-tab.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00D4FF;
}

.demo-modal-close {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    color: #FCA5A5;
    cursor: pointer;
    padding: 0.32rem 0.7rem;
    font-size: 0.9rem;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: auto;
}

.demo-modal-close:hover {
    background: rgba(239, 68, 68, 0.18);
}

.demo-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: #0B0F1A;
}

/* WEB DEMO */
.dw-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 212, 255, 0.04);
    border-bottom: 1px solid rgba(0, 212, 255, 0.09);
    padding: .8rem 2rem;
}

.dw-logo {
    font-family: 'Orbitron', monospace;
    font-size: .82rem;
    color: #00D4FF;
}

.dw-links {
    display: flex;
    gap: 1.5rem;
}

.dw-links a {
    font-size: .78rem;
    color: #94A3B8;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s;
}

.dw-links a:hover {
    color: #00D4FF;
}

.dw-cta-sm {
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
    border: none;
    border-radius: 20px;
    padding: .38rem 1rem;
    color: #fff;
    font-size: .72rem;
    cursor: pointer;
}

.dw-hero {
    padding: 3.5rem 2rem;
    text-align: center;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.06), transparent);
}

.dw-badge {
    display: inline-block;
    font-size: .65rem;
    color: #00D4FF;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: .25rem .8rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: .1em;
}

.dw-hero h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.7rem;
    color: #F0F4FF;
    margin-bottom: .7rem;
    line-height: 1.2;
}

.dw-hero p {
    font-size: .92rem;
    color: #94A3B8;
    max-width: 480px;
    margin: 0 auto 1.4rem;
    line-height: 1.7;
}

.dw-hero-btns {
    display: flex;
    gap: .75rem;
    justify-content: center;
}

.dw-btn-p {
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
    border: none;
    border-radius: 50px;
    padding: .65rem 1.5rem;
    color: #fff;
    font-size: .78rem;
    cursor: pointer;
}

.dw-btn-o {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 50px;
    padding: .65rem 1.5rem;
    color: #00D4FF;
    font-size: .78rem;
    cursor: pointer;
}

.dw-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem 2rem;
}

.dw-srv-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.2rem;
    text-align: center;
    transition: border-color .2s;
    cursor: default;
}

.dw-srv-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
}

.dw-srv-icon {
    font-size: 1.5rem;
    margin-bottom: .6rem;
}

.dw-srv-card h4 {
    font-family: 'Orbitron', monospace;
    font-size: .68rem;
    color: #F0F4FF;
    margin-bottom: .4rem;
}

.dw-srv-card p {
    font-size: .76rem;
    color: #64748B;
    line-height: 1.5;
}

.dw-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1.2rem 2rem 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dw-stat {
    text-align: center;
}

.dw-stat-num {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dw-stat-label {
    font-size: .7rem;
    color: #64748B;
    margin-top: .2rem;
}

/* DASHBOARD DEMO */
.dash-demo-full {
    display: flex;
    min-height: 520px;
}

.dash-sidebar {
    width: 170px;
    background: rgba(0, 0, 0, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem .7rem;
    flex-shrink: 0;
}

.dash-sb-logo {
    font-family: 'Orbitron', monospace;
    font-size: .72rem;
    color: #00D4FF;
    padding: 0 .4rem .9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: .7rem;
}

.dash-sb-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .6rem;
    border-radius: 8px;
    font-size: .76rem;
    color: #64748B;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: .15rem;
}

.dash-sb-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #F0F4FF;
}

.dash-sb-item.active {
    background: rgba(0, 212, 255, 0.08);
    color: #00D4FF;
    border: 1px solid rgba(0, 212, 255, 0.14);
}

.dash-main {
    flex: 1;
    padding: 1.3rem;
    overflow-y: auto;
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dash-top-title {
    font-family: 'Orbitron', monospace;
    font-size: .78rem;
    color: #F0F4FF;
}

.dash-live-badge {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: rgba(34, 197, 94, 0.07);
    border: 1px solid rgba(34, 197, 94, 0.18);
    border-radius: 50px;
    padding: .22rem .65rem;
    font-size: .68rem;
    color: #22C55E;
}

.dd-pulse {
    width: 6px;
    height: 6px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    margin-bottom: 1rem;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: .9rem;
}

.kpi-card.blue {
    border-color: rgba(0, 212, 255, 0.14);
    background: rgba(0, 212, 255, 0.04);
}

.kpi-card.purple {
    border-color: rgba(139, 92, 246, 0.14);
    background: rgba(139, 92, 246, 0.04);
}

.kpi-card.green {
    border-color: rgba(34, 197, 94, 0.14);
    background: rgba(34, 197, 94, 0.04);
}

.kpi-label {
    font-size: .62rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .35rem;
}

.kpi-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: #F0F4FF;
}

.kpi-change {
    font-size: .68rem;
    color: #22C55E;
    margin-top: .2rem;
}

.chart-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .8rem;
    font-size: .76rem;
    color: #F0F4FF;
}

.chart-bars-full {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 110px;
}

.cb-f {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.7), rgba(139, 92, 246, 0.45));
    transition: opacity .2s;
    cursor: pointer;
}

.cb-f:hover {
    opacity: .75;
}

.chart-labels {
    display: flex;
    gap: 5px;
    margin-top: .3rem;
}

.cb-f-label {
    flex: 1;
    text-align: center;
    font-size: .58rem;
    color: #64748B;
}

.recent-table {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}

.rt-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: .65rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.15);
}

.rt-th {
    font-size: .6rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: 'Orbitron', monospace;
}

.rt-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: .6rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: background .15s;
}

.rt-row:hover {
    background: rgba(0, 212, 255, 0.03);
}

.rt-row:last-child {
    border-bottom: none;
}

.rt-td {
    font-size: .76rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.rt-badge {
    font-size: .6rem;
    padding: .12rem .45rem;
    border-radius: 50px;
}

.rt-badge.green {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.rt-badge.blue {
    background: rgba(0, 212, 255, 0.1);
    color: #00D4FF;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.rt-badge.yellow {
    background: rgba(234, 179, 8, 0.1);
    color: #EAB308;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

/* CRM DEMO */
.crm-full {
    display: flex;
    min-height: 520px;
}

.crm-sb {
    width: 185px;
    background: rgba(0, 0, 0, 0.35);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem .7rem;
    flex-shrink: 0;
}

.crm-sb-logo {
    font-family: 'Orbitron', monospace;
    font-size: .7rem;
    color: #00D4FF;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.crm-sb-sec {
    font-size: .56rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: .9rem 0 .35rem .4rem;
}

.crm-sb-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .48rem .6rem;
    border-radius: 8px;
    font-size: .76rem;
    color: #64748B;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: .12rem;
}

.crm-sb-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #94A3B8;
}

.crm-sb-item.active {
    background: rgba(0, 212, 255, 0.08);
    color: #00D4FF;
}

.crm-sb-count {
    margin-left: auto;
    background: #00D4FF;
    color: #0B0F1A;
    font-size: .58rem;
    font-weight: 700;
    padding: .08rem .42rem;
    border-radius: 50px;
}

.crm-content {
    flex: 1;
    padding: 1.3rem;
    overflow-y: auto;
}

.crm-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.crm-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .8rem;
}

.crm-col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: .75rem;
    min-height: 320px;
}

.crm-col-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .75rem;
    font-size: .68rem;
    color: #94A3B8;
    font-family: 'Orbitron', monospace;
    letter-spacing: .06em;
}

.crm-col-count {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50px;
    padding: .08rem .45rem;
    font-size: .6rem;
    color: #64748B;
}

.crm-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: .65rem;
    margin-bottom: .45rem;
    cursor: pointer;
    transition: all .2s;
}

.crm-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.crm-card-name {
    font-size: .76rem;
    color: #F0F4FF;
    font-weight: 500;
    margin-bottom: .18rem;
}

.crm-card-co {
    font-size: .66rem;
    color: #64748B;
    margin-bottom: .35rem;
}

.crm-card-val {
    font-size: .7rem;
    color: #22C55E;
    font-family: 'Orbitron', monospace;
}

.crm-card-tag {
    display: inline-block;
    font-size: .56rem;
    padding: .08rem .38rem;
    border-radius: 50px;
    margin-top: .25rem;
}

.crm-card-tag.hot {
    background: rgba(239, 68, 68, 0.1);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.crm-card-tag.warm {
    background: rgba(234, 179, 8, 0.09);
    color: #EAB308;
    border: 1px solid rgba(234, 179, 8, 0.18);
}

.crm-card-tag.cold {
    background: rgba(100, 116, 139, 0.09);
    color: #64748B;
    border: 1px solid rgba(100, 116, 139, 0.14);
}

.crm-card-tag.won {
    background: rgba(34, 197, 94, 0.09);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.18);
}

/* CHATBOT DEMO */
.chatbot-full {
    display: flex;
    min-height: 520px;
}

.chatbot-list {
    width: 230px;
    background: rgba(0, 0, 0, 0.35);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    overflow-y: auto;
}

.chatbot-list-header {
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Orbitron', monospace;
    font-size: .7rem;
    color: #00D4FF;
}

.chat-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: background .15s;
}

.chat-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.chat-item.active {
    background: rgba(0, 212, 255, 0.06);
}

.chat-item-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}

.chat-item-name {
    font-size: .76rem;
    color: #F0F4FF;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-item-preview {
    font-size: .66rem;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.chat-item-unread {
    background: #00D4FF;
    color: #0B0F1A;
    font-size: .58rem;
    font-weight: 700;
    padding: .08rem .42rem;
    border-radius: 50px;
    flex-shrink: 0;
}

.chatbot-window {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.chatbot-avatar-lg {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.chatbot-info-name {
    font-size: .82rem;
    color: #F0F4FF;
    font-weight: 500;
}

.chatbot-info-status {
    font-size: .66rem;
    color: #22C55E;
    margin-top: 1px;
}

.chatbot-msgs {
    flex: 1;
    padding: 1rem 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    min-height: 300px;
    max-height: 340px;
}

.msg-row {
    display: flex;
    gap: .55rem;
    align-items: flex-end;
}

.msg-row.user {
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
}

.msg-avatar.bot {
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
}

.msg-avatar.user {
    background: rgba(139, 92, 246, 0.4);
}

.msg-bubble {
    max-width: 72%;
    padding: .55rem .85rem;
    border-radius: 14px;
    font-size: .8rem;
    line-height: 1.5;
}

.msg-bubble.bot {
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid rgba(0, 212, 255, 0.12);
    color: #F0F4FF;
    border-bottom-left-radius: 4px;
}

.msg-bubble.user {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.17);
    color: #F0F4FF;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00D4FF;
    animation: typing-bounce 1.2s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: .2s;
}

.typing-dot:nth-child(3) {
    animation-delay: .4s;
}

@keyframes typing-bounce {

    0%,
    60%,
    100% {
        transform: translateY(0)
    }

    30% {
        transform: translateY(-5px)
    }
}

.chatbot-input-bar {
    padding: .8rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: .55rem;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: .5rem 1rem;
    color: #F0F4FF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: .82rem;
    outline: none;
    transition: border-color .2s;
}

.chat-input:focus {
    border-color: rgba(0, 212, 255, 0.3);
}

.chat-send {
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
    border: none;
    border-radius: 50px;
    padding: .5rem 1rem;
    color: #fff;
    font-size: .82rem;
    cursor: pointer;
    transition: opacity .2s;
}

.chat-send:hover {
    opacity: .85;
}

/* ADMIN DEMO */
.admin-full {
    display: flex;
    min-height: 520px;
}

.admin-sidebar {
    width: 195px;
    background: rgba(0, 0, 0, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem .7rem;
    flex-shrink: 0;
}

.admin-main {
    flex: 1;
    padding: 1.3rem;
    overflow-y: auto;
}

.admin-sb-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.3rem;
}

.admin-sb-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}

.admin-sb-name {
    font-family: 'Orbitron', monospace;
    font-size: .62rem;
    color: #00D4FF;
}

.admin-sb-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .48rem .6rem;
    border-radius: 8px;
    font-size: .76rem;
    color: #64748B;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: .18rem;
}

.admin-sb-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #94A3B8;
}

.admin-sb-item.active {
    background: rgba(0, 212, 255, 0.08);
    color: #00D4FF;
    border: 1px solid rgba(0, 212, 255, 0.13);
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-search {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: .45rem .85rem;
    color: #94A3B8;
    font-size: .78rem;
    font-family: 'Space Grotesk', sans-serif;
    outline: none;
    width: 180px;
}

.admin-add-btn {
    background: linear-gradient(135deg, #00D4FF, #8B5CF6);
    border: none;
    border-radius: 8px;
    padding: .45rem .9rem;
    color: #fff;
    font-size: .76rem;
    cursor: pointer;
}

.admin-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    margin-bottom: 1rem;
}

.ak-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: .75rem;
    text-align: center;
}

.ak-num {
    font-family: 'Orbitron', monospace;
    font-size: 1.05rem;
    color: #F0F4FF;
}

.ak-label {
    font-size: .6rem;
    color: #64748B;
    margin-top: .18rem;
}

.admin-table {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.at-header {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1fr 0.8fr;
    padding: .65rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.at-th {
    font-size: .58rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-family: 'Orbitron', monospace;
}

.at-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1fr 0.8fr;
    padding: .65rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background .15s;
    cursor: pointer;
}

.at-row:hover {
    background: rgba(0, 212, 255, 0.02);
}

.at-row:last-child {
    border-bottom: none;
}

.at-td {
    font-size: .76rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.at-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .62rem;
    font-weight: 700;
    flex-shrink: 0;
    color: #fff;
}

.at-name {
    font-weight: 500;
    color: #F0F4FF;
    font-size: .78rem;
}

.at-email {
    font-size: .68rem;
    color: #64748B;
}

.at-status {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .7rem;
}

.at-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.at-dot.active {
    background: #22C55E;
}

.at-dot.pending {
    background: #EAB308;
}

.at-dot.inactive {
    background: #64748B;
}

.at-role-badge {
    font-size: .63rem;
    padding: .13rem .52rem;
    border-radius: 50px;
}

.at-role-badge.admin {
    background: rgba(0, 212, 255, 0.1);
    color: #00D4FF;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.at-role-badge.manager {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.at-role-badge.editor {
    background: rgba(100, 116, 139, 0.1);
    color: #94A3B8;
    border: 1px solid rgba(100, 116, 139, 0.15);
}

.at-role-badge.viewer {
    background: rgba(34, 197, 94, 0.08);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.at-action {
    font-size: .68rem;
    color: #64748B;
    cursor: pointer;
    padding: .18rem .45rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all .2s;
}

.at-action:hover {
    border-color: rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}

@media (max-width:640px) {
    .demo-modal-box {
        max-height: 95vh;
        border-radius: 12px;
    }

    .kpi-grid,
    .admin-kpis {
        grid-template-columns: 1fr 1fr;
    }

    .crm-board {
        grid-template-columns: 1fr 1fr;
    }

    .dash-sidebar,
    .crm-sb,
    .chatbot-list,
    .admin-sidebar {
        display: none;
    }

    .dw-services {
        grid-template-columns: 1fr;
    }
}
