/* --- CRM Hero Universe --- */
.crm-hero-universe {
    height: 100vh;
    background: #050505;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center; justify-content: center;
}

/* Background Neural Map */
.neural-network-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(160, 32, 240, 0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 1;
}

/* The Kinetic Nexus */
.nexus-wrapper {
    position: absolute;
    width: 400px; height: 400px;
    display: flex;
    align-items: center; justify-content: center;
    z-index: 2;
}

.ring {
    position: absolute;
    border: 9px solid rgba(160, 32, 240, 0.3);
    border-radius: 50%;
    animation: rotateRing 10s linear infinite;
}

.r1 { width: 300px; height: 300px; transform: rotateX(70deg); }
.r2 { width: 300px; height: 300px; transform: rotateY(70deg); animation-duration: 7s; }

.nexus-pulse {
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 40px 10px var(--accent-purple);
    animation: coreBreath 2s ease-in-out infinite alternate;
}

@keyframes rotateRing {
    0% { transform: rotate(0deg) rotateX(70deg); }
    100% { transform: rotate(360deg) rotateX(70deg); }
}

@keyframes coreBreath {
    from { transform: scale(0.8); opacity: 0.5; }
    to { transform: scale(1.2); opacity: 1; }
}

/* --- Content Styling --- */
.crm-hero-content { text-align: center; z-index: 10; }

.system-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-purple);
    background: rgba(160, 32, 240, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center; gap: 10px;
    margin-bottom: 25px;
}

.crm-title {
    font-family: 'Audiowide', cursive;
    font-size: 5rem;
    color: white;
    letter-spacing: -1px;
}

.purple-glow {
    color: var(--accent-purple);
    text-shadow: 0 0 30px rgba(160, 32, 240, 0.6);
}

.crm-lead {
    max-width: 600px;
    margin: 25px auto 40px;
    font-family: 'Space Mono', monospace;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.crm-btn {
    background: white;
    color: black;
    border: none;
    padding: 18px 45px;
    font-family: 'Space Mono', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.crm-btn:hover {
    background: var(--accent-purple);
    color: white;
    box-shadow: 0 0 40px rgba(160, 32, 240, 0.5);
}

.uptime-counter {
    font-family: 'Space Mono', monospace;
    color: #a70ea7;
    font-size: 0.7rem;
    margin-top: 20px;
    letter-spacing: 2px;
}
/* --- CRM Responsive Logic --- */
@media (max-width: 1024px) {
    .crm-title {
        font-size: 3.5rem;
    }
    .nexus-wrapper {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .crm-hero-universe {
        height: 100svh; /* Better mobile height */
    }

    .crm-title {
        font-size: 2.5rem;
        padding: 0 15px;
    }

    .crm-lead {
        font-size: 0.9rem;
        padding: 0 25px;
    }

    .nexus-wrapper {
        transform: scale(0.6);
        top: 40%; /* Move up slightly to clear the text */
    }

    .crm-btn {
        width: 80%;
        padding: 15px 20px;
    }

    .system-tag {
        font-size: 0.7rem;
        padding: 6px 15px;
    }
}

@media (max-width: 480px) {
    .crm-title {
        font-size: 2.2rem;
    }
    
    .neural-network-bg {
        background-size: 40px 40px; /* Tighter grid for small screens */
    }
}
/* --- CRM Pipeline (White Theme) --- */
.crm-pipeline-section {
    padding: 120px 0;
    background-color: #ffffff; /* 70% White */
    overflow: hidden;
}

.pipeline-title {
    font-family: 'Audiowide', cursive;
    font-size: 3rem;
    color: #111; /* 25% Black */
    margin-bottom: 60px;
}

/* --- The Conveyor System --- */
.conveyor-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 80px;
    position: relative;
}

.conveyor-track {
    flex: 1;
    height: 4px;
    background: #eee;
    position: relative;
    display: flex;
    align-items: center;
}

/* Raw Leads Animation (Left to Right) */
.raw-lead {
    position: absolute;
    width: 40px; height: 40px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    color: #999;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    animation: moveIn 4s linear infinite;
}

@keyframes moveIn {
    0% { left: -10%; opacity: 0; }
    20% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* The Machine Hub */
.crm-machine-hub {
    width: 200px; height: 120px;
    background: #111; /* 25% Black */
    border-radius: 12px;
    position: relative;
    z-index: 5;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hub-scanner {
    position: absolute;
    width: 100%; height: 2px;
    background: var(--accent-purple);
    top: 0;
    animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {
    0% { top: 0; }
    100% { top: 100%; }
}

.hub-label { color: #fff; font-family: 'Audiowide', cursive; font-size: 0.9rem; letter-spacing: 1px; }
.hub-stats { color: var(--accent-purple); font-family: 'Space Mono', monospace; font-size: 0.9rem; margin-top: 5px; }

/* Deal Nodes Animation (Left to Right) */
.deal-node {
    position: absolute;
    width: 50px; height: 50px;
    background: #fff;
    border: 2px solid var(--accent-purple);
    color: var(--accent-purple); /* 5% Purple */
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(160, 32, 240, 0.3);
    animation: moveOut 4s linear infinite;
}

@keyframes moveOut {
    0% { left: 0%; opacity: 0; transform: scale(0.5); }
    10% { opacity: 1; transform: scale(1.2); }
    20% { transform: scale(1); }
    100% { left: 110%; opacity: 0; }
}

/* --- Description Grid --- */
.process-desc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.p-item h3 { font-family: 'Audiowide', cursive; color: #111; margin-bottom: 15px; }
.p-item p { font-family: 'Space Mono', monospace; color: #666; font-size: 0.9rem; line-height: 1.6; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .conveyor-container { flex-direction: column; height: 400px; }
    .conveyor-track { width: 4px; height: 150px; flex: none; }
    .process-desc-grid { grid-template-columns: 1fr; text-align: center; }
    .pipeline-title { font-size: 2rem; }
    
    @keyframes moveIn {
        0% { top: -10%; opacity: 0; }
        100% { top: 100%; opacity: 0; }
    }
    @keyframes moveOut {
        0% { top: 0%; opacity: 0; }
        100% { top: 110%; opacity: 0; }
    }
}
/* --- Integration Web (Black Theme) --- */

.integration-display {
    position: relative;
    width: 100%;
    height: 600px;
    margin-top: 100px;
}
.crm-integration-web {
    padding: 120px 0;
    background: #050505;
    position: relative;
    overflow: hidden;
}

.web-title {
    font-family: 'Audiowide', cursive;
    font-size: 3.5rem;
    color: white;
    margin: 15px 0;
}

/* --- The Integration Display --- */
/* --- High-Visibility Integration Web (Black Theme) --- */
.crm-integration-web {
    padding: 120px 0;
    background: #020202; /* Deepest black for max contrast */
    position: relative;
    overflow: hidden;
}

/* 1. The Central Node: Now it SHINES */
.central-node {
    width: 130px; height: 130px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Audiowide', cursive;
    font-size: 1.6rem;
    color: #000;
    font-weight: 900;
    /* Massive Glow Effect */
    box-shadow: 0 0 40px rgba(160, 32, 240, 0.8), 
                0 0 80px rgba(160, 32, 240, 0.4);
      position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 2. The Satellites: Glassy & Visible */
.satellite {
    position: absolute;
    width: 240px;
    text-align: center;
    background: rgba(255, 255, 255, 0.07); /* Increased background visibility */
    backdrop-filter: blur(10px); /* Blur makes it pop from background */
    border: 1px solid rgba(160, 32, 240, 0.5); /* Solid Purple Border */
    padding: 25px;
    border-radius: 20px;
    z-index: 5;
    transition: 0.4s;
}

.satellite:hover {
    border-color: #fff;
    background: rgba(160, 32, 240, 0.2);
    box-shadow: 0 0 30px rgba(160, 32, 240, 0.4);
    transform: translateY(-10px) scale(1.05);
}

.sat-icon { 
    font-size: 2.2rem; 
    color: #fff; /* Icons white for readability */
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px var(--accent-purple)); 
}

.sat-label { 
    font-family: 'Audiowide', cursive; 
    color: #ffffff; /* Bright white labels */
    font-size: 1rem; 
    margin-bottom: 8px; 
    letter-spacing: 1px;
}

.sat-tools { 
    font-family: 'Space Mono', monospace; 
    color: var(--accent-purple); /* Purple text for the tools */
    font-size: 0.8rem;
    font-weight: bold;
}

/* 3. The Connection Lines: Now Vivid & Kinetic */
.connection-lines line {
    stroke: var(--accent-purple); /* Pure Purple */
    stroke-width: 2.5; /* Thicker for visibility */
    stroke-opacity: 0.6;
    stroke-dasharray: 12;
    animation: dashMove 3s linear infinite;
    filter: drop-shadow(0 0 5px var(--accent-purple));
}
.sat-1 {
    top: 10%;
    left: 10%;
}

.sat-2 {
    top: 10%;
    right: 10%;
}

.sat-3 {
    bottom: 10%;
    left: 10%;
}

.sat-4 {
    bottom: 10%;
    right: 10%;
}
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}
.connection-lines line {
    stroke-opacity: 0.5;
}


@keyframes dashMove {
    to { stroke-dashoffset: -120; }
}

/* The pulse ring behind the core - wider and brighter */
.node-rings {
    position: absolute;
    width: 200%; height: 200%;
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}
/* --- RESPONSIVE --- */
@media (max-width: 992px) {

    .integration-display {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .satellite {
        position: static;
        width: 100%;
        max-width: 360px;
    }

    .central-node {
        position: static;
        transform: none;
        margin-bottom: 30px;
    }

    .connection-lines {
        display: none;
    }

    .web-title {
        font-size: 2.2rem;
    }
}
/* CTA - Section */
.crm-cta-section {
    padding: 100px 0 150px;
    background-color: #0a0a0a;
    display: flex;
    justify-content: center;
}

.cta-terminal {
    background: #f1e5e5;
    border: 1px solid rgba(160, 32, 240, 0.3);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}

.terminal-header {
    background: rgba(86, 88, 88, 0.1);
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(160, 32, 240, 0.2);
}

.terminal-header .dots {
    display: flex;
    gap: 8px;
}

.terminal-header .dots span {
    width: 10px; height: 10px; border-radius: 50%; background: rgba(243, 8, 8, 0.2);
}

.terminal-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent-purple);
    letter-spacing: 2px;
}

.cta-content {
    padding: 60px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Live Status Pulse */
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(40, 167, 69, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.pulse {
    width: 8px; height: 8px;
    background: #28a745;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(40, 167, 69, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.status-text {
    color: #28a745;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: bold;
}

.cta-title {
    font-family: 'Audiowide', cursive;
    font-size: 3rem;
    color: rgb(8, 8, 8);
    margin-bottom: 20px;
}

.cta-desc {
    font-family: 'Space Mono', monospace;
    color: #0f0f0f;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Calendly Button */
.calendly-btn {
    display: inline-flex;
    align-items: center;
    background: white;
    color: black;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Audiowide', cursive;
    font-size: 1.1rem;
    transition: 0.4s;
    border: 2px solid white;
}

.calendly-btn:hover {
    background: transparent;
    color: rgb(17, 17, 17);
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(160, 32, 240, 0.5);
    transform: translateY(-5px);
}

.btn-icon { margin-left: 15px; color: var(--accent-purple); }

.timezone-note {
    margin-top: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #555;
}

/* Decorative Background Glow */
.cta-glow-bg {
    position: absolute;
    bottom: -50%; left: 50%;
    transform: translateX(-50%);
    width: 300px; height: 300px;
    background: var(--accent-purple);
    filter: blur(120px);
    opacity: 0.2;
    z-index: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cta-title { font-size: 2rem; }
    .cta-content { padding: 40px 20px; }
}