/* --- Immersive Focus Section (New Design) --- */
.immersive-focus {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 60px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.immersive-focus:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.immersive-focus.reverse {
    flex-direction: row-reverse;
}

.focus-content {
    flex: 1;
    z-index: 2;
}

.focus-visual {
    flex: 1;
    height: 400px;
    position: relative;
    border-radius: 20px;
    background: #000;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.focus-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(64, 128, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(64, 128, 255, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.focus-badge.home-badge {
    background: rgba(0, 255, 100, 0.1);
    color: #00ff66;
    border-color: rgba(0, 255, 100, 0.3);
}

.immersive-focus h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.immersive-focus p {
    color: #bbb;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Feature Grid (Business) */
.focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.focus-item {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
}

.focus-item i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-top: 5px;
}

.focus-item h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.focus-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: #888;
}

/* Highlights (Home) */
.tech-support-highlight,
.smart-home-highlight {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 3px solid #00ff66;
}

.tech-support-highlight h4,
.smart-home-highlight h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-support-highlight h4 i {
    color: #00ff66;
}

.smart-home-highlight h4 i {
    color: var(--accent-purple);
}

.micro-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    list-style: none;
    margin-top: 10px;
    padding: 0;
}

.micro-list li {
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.micro-list li i {
    color: #666;
    font-size: 0.8rem;
}

.brand-icons {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.brand-icons i {
    font-size: 1.8rem;
    color: #fff;
    opacity: 0.7;
    transition: all 0.3s;
}

.brand-icons i:hover {
    opacity: 1;
    transform: scale(1.2);
    color: #00ff66;
}

.small-text {
    font-size: 0.85rem !important;
    color: #666 !important;
    margin-bottom: 0 !important;
}


/* Home Visual Animations */
.smart-home-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 100, 0.05), transparent 60%);
    z-index: 0;
}

.floating-device {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(20, 20, 25, 0.9);
    border: 1px solid rgba(0, 255, 100, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff66;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.1);
    animation: float-device 4s ease-in-out infinite;
    z-index: 2;
}

.central-hologram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: rgba(0, 255, 100, 0.1);
    z-index: 1;
    animation: hologram-pulse 3s infinite;
}

@keyframes float-device {

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

    50% {
        transform: translateY(-15px);
    }
}

@keyframes hologram-pulse {
    0% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .immersive-focus {
        flex-direction: column !important;
        padding: 30px;
    }

    .focus-visual {
        width: 100%;
        height: 250px;
        order: -1;
        /* Show image first on mobile? Or keep text first? Let's keep separate */
    }

    /* Order adjustment if needed */
    .immersive-focus.reverse .focus-visual {
        order: -1;
    }
}

/* --- Business Visual Animations (New) --- */
.diagnostics-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(64, 128, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 128, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    opacity: 0.5;
}

.server-rack-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg,
            transparent,
            transparent 19px,
            rgba(255, 255, 255, 0.05) 20px);
    z-index: 2;
}

.data-packet {
    position: absolute;
    width: 4px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-cyan);
    z-index: 3;
    opacity: 0;
    animation: packet-drop 3s infinite linear;
}

.p1 {
    left: 20%;
    animation-delay: 0s;
}

.p2 {
    left: 50%;
    animation-delay: 1.2s;
    height: 15px;
    background: var(--accent-magenta);
    box-shadow: 0 0 10px var(--accent-magenta);
}

.p3 {
    left: 80%;
    animation-delay: 0.5s;
}

@keyframes packet-drop {
    0% {
        top: -20px;
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.diagnostics-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    border: 1px solid rgba(64, 128, 255, 0.3);
    background: rgba(10, 15, 20, 0.85);
    backdrop-filter: blur(5px);
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.diag-header {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.diag-dot {
    width: 8px;
    height: 8px;
    background: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff66;
    animation: blink-dot 2s infinite;
}

.diag-status {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    text-align: center;
    letter-spacing: 2px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(64, 128, 255, 0.5);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    border-right: 2px solid var(--accent-cyan);
    animation: type-status 4s steps(20) infinite alternate;
    width: 17ch;
    /* Approx width of "SYSTEM OPTIMIZED" */
}

@keyframes type-status {

    0%,
    20% {
        width: 0;
    }

    50%,
    90% {
        width: 17ch;
    }
}

.diag-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #aaa;
    font-family: monospace;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

@keyframes blink-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}