/* NexousHub landing - CRM page styles (from the page <style> block, unchanged) */
/* CRM Specific Styles */
:root {
    --crm-primary: #4f8ef7;
    --crm-secondary: #8b5cf6;
    --crm-accent: #06b6d4;
    --crm-bg: #030712;
    --crm-surface: #0d1117;
    --crm-text: #e6edf3;
    --crm-muted: #7d8590;
    --crm-border: rgba(255,255,255,0.07);
}

.crm-landing-container {
    background: var(--crm-bg);
    color: var(--crm-text);
    min-height: 100vh;
}

.crm-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 6% 60px;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.orb1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79,142,247,0.12) 0%, transparent 70%);
    top: 5%; left: 50%;
    transform: translateX(-50%);
    animation: pulse-crm 6s ease-in-out infinite;
}

@keyframes pulse-crm {
    0%, 100% { opacity: 0.6; transform: scale(1) translate(-50%, 0); }
    50% { opacity: 1; transform: scale(1.05) translate(-50%, 0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79,142,247,0.08);
    border: 1px solid rgba(79,142,247,0.25);
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 0.82rem;
    color: var(--crm-primary);
    font-weight: 500;
    margin-bottom: 28px;
}

.badge-dot {
    width: 7px; height: 7px;
    background: var(--crm-primary);
    border-radius: 50%;
    animation: blink-crm 1.5s infinite;
}

@keyframes blink-crm {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.crm-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    max-width: 950px;
    margin-bottom: 24px;
}

.line-accent {
    background: linear-gradient(135deg, var(--crm-primary) 0%, var(--crm-secondary) 50%, var(--crm-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--crm-muted);
    max-width: 600px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.btn-crm-primary {
    background: linear-gradient(135deg, var(--crm-primary), var(--crm-secondary));
    color: #fff !important;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 0 30px rgba(79,142,247,0.3);
    display: inline-block;
}

.btn-crm-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(79,142,247,0.45);
}

.btn-crm-secondary {
    background: transparent;
    color: var(--crm-text);
    font-weight: 500;
    padding: 13px 28px;
    border-radius: 10px;
    border: 1px solid var(--crm-border);
    text-decoration: none;
    transition: all 0.25s;
    display: inline-block;
}

.btn-crm-secondary:hover {
    border-color: rgba(79,142,247,0.3);
    background: rgba(79,142,247,0.05);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 32px 6%;
    border-top: 1px solid var(--crm-border);
    border-bottom: 1px solid var(--crm-border);
    background: transparent;
    max-width: 1100px;
    margin: 0 auto;
}

.stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    transition: all 0.3s ease;
    text-align: left;
}

.stat:hover {
    background: rgba(79,142,247,0.08);
    border-color: rgba(79,142,247,0.25);
    transform: translateY(-3px);
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

/* Section Styles */
.crm-section {
    padding: 100px 6%;
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--crm-primary);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    width: 30px; height: 2px;
    background: linear-gradient(90deg, var(--crm-primary), transparent);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(1.85rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: var(--crm-muted);
    max-width: 560px;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 70px auto 0;
}

.feature-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(79,142,247,0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79,142,247,0.4);
    box-shadow: 0 0 0 1px rgba(79,142,247,0.2), 0 20px 50px rgba(79,142,247,0.15);
}

.feature-card:hover::before { opacity: 1; }

.feature-card[data-color="blue"] {
    background: rgba(79,142,247,0.04);
    border-color: rgba(79,142,247,0.12);
    box-shadow: 0 0 40px rgba(79,142,247,0.06) inset;
}
.feature-card[data-color="blue"]:hover {
    border-color: rgba(79,142,247,0.45);
    box-shadow: 0 0 0 1px rgba(79,142,247,0.2), 0 20px 50px rgba(79,142,247,0.2), 0 0 60px rgba(79,142,247,0.08) inset;
}
.feature-card[data-color="blue"]::before {
    background: linear-gradient(135deg, rgba(79,142,247,0.1), transparent 60%);
}

.feature-card[data-color="purple"] {
    background: rgba(168,85,247,0.04);
    border-color: rgba(168,85,247,0.12);
    box-shadow: 0 0 40px rgba(168,85,247,0.06) inset;
}
.feature-card[data-color="purple"]:hover {
    border-color: rgba(168,85,247,0.45);
    box-shadow: 0 0 0 1px rgba(168,85,247,0.2), 0 20px 50px rgba(168,85,247,0.2), 0 0 60px rgba(168,85,247,0.08) inset;
}
.feature-card[data-color="purple"]::before {
    background: linear-gradient(135deg, rgba(168,85,247,0.1), transparent 60%);
}

.feature-card[data-color="cyan"] {
    background: rgba(6,182,212,0.04);
    border-color: rgba(6,182,212,0.12);
    box-shadow: 0 0 40px rgba(6,182,212,0.06) inset;
}
.feature-card[data-color="cyan"]:hover {
    border-color: rgba(6,182,212,0.45);
    box-shadow: 0 0 0 1px rgba(6,182,212,0.2), 0 20px 50px rgba(6,182,212,0.2), 0 0 60px rgba(6,182,212,0.08) inset;
}
.feature-card[data-color="cyan"]::before {
    background: linear-gradient(135deg, rgba(6,182,212,0.1), transparent 60%);
}

.feature-card[data-color="pink"] {
    background: rgba(236,72,153,0.04);
    border-color: rgba(236,72,153,0.12);
    box-shadow: 0 0 40px rgba(236,72,153,0.06) inset;
}
.feature-card[data-color="pink"]:hover {
    border-color: rgba(236,72,153,0.45);
    box-shadow: 0 0 0 1px rgba(236,72,153,0.2), 0 20px 50px rgba(236,72,153,0.2), 0 0 60px rgba(236,72,153,0.08) inset;
}
.feature-card[data-color="pink"]::before {
    background: linear-gradient(135deg, rgba(236,72,153,0.1), transparent 60%);
}

.feature-card[data-color="green"] {
    background: rgba(34,197,94,0.04);
    border-color: rgba(34,197,94,0.12);
    box-shadow: 0 0 40px rgba(34,197,94,0.06) inset;
}
.feature-card[data-color="green"]:hover {
    border-color: rgba(34,197,94,0.45);
    box-shadow: 0 0 0 1px rgba(34,197,94,0.2), 0 20px 50px rgba(34,197,94,0.2), 0 0 60px rgba(34,197,94,0.08) inset;
}
.feature-card[data-color="green"]::before {
    background: linear-gradient(135deg, rgba(34,197,94,0.1), transparent 60%);
}

.feature-card[data-color="amber"] {
    background: rgba(245,158,11,0.04);
    border-color: rgba(245,158,11,0.12);
    box-shadow: 0 0 40px rgba(245,158,11,0.06) inset;
}
.feature-card[data-color="amber"]:hover {
    border-color: rgba(245,158,11,0.45);
    box-shadow: 0 0 0 1px rgba(245,158,11,0.2), 0 20px 50px rgba(245,158,11,0.2), 0 0 60px rgba(245,158,11,0.08) inset;
}
.feature-card[data-color="amber"]::before {
    background: linear-gradient(135deg, rgba(245,158,11,0.1), transparent 60%);
}

. w-14 h-14 rounded-xl flex items-center justify-center mb-4 text-2xl  {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--crm-muted);
    line-height: 1.65;
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.pill {
    font-size: 0.73rem;
    padding: 4px 11px;
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--crm-border);
    color: var(--crm-muted);
}

/* Dashboard Section */
.dashboard-section {
    padding: 50px 6% 100px;
    background: rgba(13,17,23,0.4);
    border-top: 1px solid var(--crm-border);
    border-bottom: 1px solid var(--crm-border);
}

.dashboard-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 56px;
}

.dashboard-mockup {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(79,142,247,0.15);
    box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    background: #0d1117;
}

.db-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.db-dots { display: flex; gap: 6px; }
.db-dot { width: 12px; height: 12px; border-radius: 50%; }
.db-dot.r { background: #ef4444; }
.db-dot.y { background: #f59e0b; }
.db-dot.g { background: #22c55e; }

.db-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}

.db-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(79,142,247,0.12);
    border: 1px solid rgba(79,142,247,0.3);
    color: var(--crm-primary);
}

.db-body { padding: 20px; }

.db-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.db-stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
}

.db-stat-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
}

.db-stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--crm-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.db-stat-change {
    font-size: 0.68rem;
    color: #22c55e;
}

.db-main-row {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 12px;
}

.db-panel {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 14px;
}

.db-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.db-panel-title .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--crm-primary);
}

.kanban {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.k-col { min-width: 110px; flex: 1; text-align: left; }

.k-col-header {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.k-col-header span {
    background: rgba(255,255,255,0.08);
    border-radius: 100px;
    padding: 1px 7px;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
}

.k-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 6px;
}

.k-card-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2px;
}

.k-card-val {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--crm-primary);
    margin-bottom: 4px;
}

.k-card-prob-bar {
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.k-card-prob-fill {
    height: 100%;
    border-radius: 2px;
}

.ai-panel-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 8px;
    text-align: left;
}

.ai-panel-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.ai-panel-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ai-panel-text strong {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
}

.ai-panel-text span {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
}

/* AI Engine Section */
.ai-engine {
    padding: 100px 6%;
    border-top: 1px solid var(--crm-border);
    background: rgba(13,17,23,0.5);
}

.ai-engine-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ai-engine-visual {
    position: relative;
    width: 520px;
    height: 520px;
    margin: 0 auto;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.orbit1 {
    width: 200px; height: 200px;
    border: 1.5px solid rgba(79,142,247,0.35);
    box-shadow: 0 0 20px rgba(79,142,247,0.08) inset;
    animation: spin-crm 7s linear infinite;
}

.orbit2 {
    width: 330px; height: 330px;
    border: 1px dashed rgba(139,92,246,0.3);
    animation: spin-crm 13s linear infinite reverse;
}

.orbit3 {
    width: 470px; height: 470px;
    border: 1px solid rgba(6,182,212,0.2);
    animation: spin-crm 20s linear infinite;
}

.orbit4 {
    width: 140px; height: 140px;
    border: 1px solid rgba(255,255,255,0.08);
    animation: spin-crm 4s linear infinite reverse;
}

@keyframes spin-crm {
    from { transform: translate(-50%,-50%) rotate(0deg); }
    to   { transform: translate(-50%,-50%) rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    border-radius: 50%;
    top: -8px; left: 50%;
    transform: translateX(-50%);
}

.od-orange {
    width: 16px; height: 16px;
    background: radial-gradient(circle, #4f8ef7, #8b5cf6);
    box-shadow: 0 0 18px rgba(79,142,247,0.9), 0 0 36px rgba(79,142,247,0.4);
}

.od-blue {
    width: 14px; height: 14px;
    background: radial-gradient(circle, #8b5cf6, #ec4899);
    box-shadow: 0 0 18px rgba(139,92,246,0.9), 0 0 36px rgba(139,92,246,0.4);
}

.od-purple {
    width: 12px; height: 12px;
    background: radial-gradient(circle, #06b6d4, #4f8ef7);
    box-shadow: 0 0 18px rgba(6,182,212,0.9), 0 0 36px rgba(6,182,212,0.4);
}

.od-blue-2 {
    width: 10px; height: 10px;
    background: radial-gradient(circle, #ec4899, #8b5cf6);
    box-shadow: 0 0 14px rgba(236,72,153,0.8);
    bottom: -5px; top: auto; left: 50%;
    transform: translateX(-50%);
}

.ai-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(79,142,247,0.35) 0%, rgba(139,92,246,0.2) 50%, rgba(6,182,212,0.1) 100%);
    border: 2px solid rgba(79,142,247,0.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    box-shadow:
        0 0 0 8px rgba(79,142,247,0.06),
        0 0 0 20px rgba(79,142,247,0.04),
        0 0 60px rgba(79,142,247,0.4),
        0 0 120px rgba(139,92,246,0.2);
}

.ai-capabilities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.ai-cap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    text-align: left;
}

.ai-cap-icon { font-size: 1.2rem; flex-shrink: 0; }
.ai-cap-text { display: flex; flex-direction: column; gap: 2px; }
.ai-cap-text strong { font-size: 0.9rem; font-weight: 700; color: #fff; }
.ai-cap-text span { font-size: 0.78rem; color: var(--crm-muted); }

/* Unified Inbox */
.comm-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.comm-visual {
    background: #0d1117;
    border: 1px solid var(--crm-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.comm-header {
    background: #161b22;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--crm-border);
    font-size: 0.85rem;
    font-weight: 600;
}

.comm-body { padding: 10px; }

.comm-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 8px;
    text-align: left;
}

.comm-channel {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.comm-channel.email { background: rgba(79,142,247,0.15); color: #4f8ef7; }
.comm-channel.whatsapp { background: rgba(34,197,94,0.15); color: #22c55e; }
.comm-channel.linkedin { background: rgba(139,92,246,0.15); color: #8b5cf6; }
.comm-channel.call { background: rgba(249,115,22,0.15); color: #f97316; }

.comm-meta { flex: 1; min-width: 0; }
.comm-name { font-size: 0.8rem; font-weight: 700; color: #fff; }
.comm-preview { font-size: 0.73rem; color: var(--crm-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comm-time { font-size: 0.68rem; color: var(--crm-muted); }
.comm-unread { width: 6px; height: 6px; border-radius: 50%; background: var(--crm-primary); }

/* Role-based cards */
.roles-section { padding: 100px 6%; text-align: center; }
.roles-header { text-align: center; margin-bottom: 56px; }
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }

.role-card {
    background: #0d1117;
    border: 1px solid var(--crm-border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s;
    text-align: left;
    position: relative;
}
.role-card:hover { transform: translateY(-4px); border-color: rgba(79,142,247,0.3); }

.role-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.role-badge.bdm { background: rgba(79,142,247,0.15); color: #4f8ef7; border: 1px solid rgba(79,142,247,0.3); }
.role-badge.bde { background: rgba(139,92,246,0.15); color: #8b5cf6; border: 1px solid rgba(139,92,246,0.3); }
.role-badge.intern { background: rgba(6,182,212,0.15); color: #06b6d4; border: 1px solid rgba(6,182,212,0.3); }

.role-title { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.role-sub { font-size: 0.85rem; color: var(--crm-muted); line-height: 1.6; margin-bottom: 24px; }
.role-perms { display: flex; flex-direction: column; gap: 10px; }
.role-perm { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.75); }

.perm-check {
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.68rem; font-weight: 700;
}
.perm-check.bdm { background: rgba(79,142,247,0.15); color: #4f8ef7; }
.perm-check.bde { background: rgba(139,92,246,0.15); color: #8b5cf6; }
.perm-check.intern { background: rgba(6,182,212,0.15); color: #06b6d4; }

/* How it works */
.how-section { padding: 100px 6%; border-top: 1px solid var(--crm-border); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.step { text-align: center; }
.step-num {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(79,142,247,0.15);
    border: 1.5px solid rgba(79,142,247,0.45);
    color: var(--crm-primary);
    font-size: 1.25rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}

/* Light Theme Overrides */
[data-theme="light"] {
    --crm-bg: #f8fafc;
    --crm-surface: #ffffff;
    --crm-text: #0f172a;
    --crm-muted: #64748b;
    --crm-border: rgba(0,0,0,0.08);
}

[data-theme="light"] .hero-sub { color: #64748b; }
[data-theme="light"] .btn-crm-secondary { color: #0f172a; border-color: rgba(0,0,0,0.15); }
[data-theme="light"] .btn-crm-secondary:hover { border-color: rgba(79,142,247,0.4); background: rgba(79,142,247,0.06); }

[data-theme="light"] .stat { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
[data-theme="light"] .stat:hover { background: rgba(79,142,247,0.06); border-color: rgba(79,142,247,0.25); }
[data-theme="light"] .stat-num { background: linear-gradient(135deg,#1e293b,#334155); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
[data-theme="light"] .stat-label { color: #64748b !important; }

[data-theme="light"] .feature-card { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important; }
[data-theme="light"] .feature-card:hover { box-shadow: 0 16px 50px rgba(0,0,0,0.1) !important; }
[data-theme="light"] .feature-name { color: #0f172a !important; }
[data-theme="light"] .feature-desc { color: #64748b !important; }

[data-theme="light"] .dashboard-section { background: #f1f5f9 !important; }
[data-theme="light"] .dashboard-mockup { box-shadow: 0 8px 24px rgba(0,0,0,0.07); background: #ffffff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .db-topbar { background: #f1f5f9; border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .db-title { color: rgba(0,0,0,0.6); }
[data-theme="light"] .db-stat-card { background: #f8fafc; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .db-stat-label { color: rgba(0,0,0,0.4); }
[data-theme="light"] .db-panel { background: rgba(0,0,0,0.01); border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .db-panel-title { color: rgba(0,0,0,0.8); }
[data-theme="light"] .k-col-header { color: #0f172a; }
[data-theme="light"] .k-col-header span { background: rgba(0,0,0,0.08); color: rgba(0,0,0,0.5); }
[data-theme="light"] .k-card { background: #ffffff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .k-card-name { color: rgba(0,0,0,0.85); }
[data-theme="light"] .ai-panel-item { background: #f8fafc; border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .ai-panel-text strong { color: rgba(0,0,0,0.85); }
[data-theme="light"] .ai-panel-text span { color: rgba(0,0,0,0.5); }

[data-theme="light"] .ai-engine { background: #f8fafc !important; }
[data-theme="light"] .ai-cap { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; }
[data-theme="light"] .ai-cap-text strong { color: #0f172a !important; }
[data-theme="light"] .ai-cap-text span { color: #64748b !important; }

[data-theme="light"] .comm-visual { background: #ffffff; border-color: rgba(0,0,0,0.08); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
[data-theme="light"] .comm-header { background: #f1f5f9; border-bottom-color: rgba(0,0,0,0.08); color: rgba(0,0,0,0.8); }
[data-theme="light"] .comm-item { background: #f8fafc; border-color: rgba(0,0,0,0.05); }
[data-theme="light"] .comm-name { color: #0f172a; }

[data-theme="light"] .role-card { background: #ffffff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .role-card:hover { border-color: rgba(79,142,247,0.35); }
[data-theme="light"] .role-title { color: #0f172a; }
[data-theme="light"] .role-sub { color: #64748b; }
[data-theme="light"] .role-perm { color: rgba(0,0,0,0.75); }

[data-theme="light"] .step-num { background: rgba(79,142,247,0.08); border-color: rgba(79,142,247,0.3); }

[data-theme="light"] .section-title { color: #0f172a; }
[data-theme="light"] .section-sub { color: #64748b; }
[data-theme="light"] .section-tag { color: #2563eb; }
[data-theme="light"] .section-tag::before { background: linear-gradient(90deg,#2563eb,transparent); }

[data-theme="light"] #demo h2 { color: #0f172a !important; }
[data-theme="light"] #demo p { color: #475569 !important; }
[data-theme="light"] #demo > div {
    background: linear-gradient(135deg,rgba(79,142,247,0.07),rgba(139,92,246,0.07)) !important;
    border-color: rgba(139,92,246,0.2) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
[data-theme="light"] .btn-outline { border-color: rgba(0,0,0,0.15) !important; color: #0f172a !important; }
[data-theme="light"] .btn-outline:hover { border-color: rgba(139,92,246,0.4) !important; background: rgba(139,92,246,0.05) !important; }

@media (max-width: 900px) {
    .comm-inner { grid-template-columns: 1fr !important; gap: 40px; }
    .roles-grid { grid-template-columns: 1fr !important; }
    .steps { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
}
@media (max-width: 480px) {
    .steps { grid-template-columns: 1fr !important; }
}
