/*
 * Cubix AI - Logo & Hero Styles
 * Updated with Robot Mascot
 */

/* Navigation Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.nav-logo:hover {
    opacity: 0.9;
}

.nav-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.3));
    transition: filter var(--transition-base);
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.5));
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
    letter-spacing: -0.02em;
}

/* Hero Section with Robot */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: var(--z-negative);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Robot mascot floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% center, transparent 0%, var(--color-deep-navy) 70%);
}

/* Hero content positioning for robot layout */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

/* Robot mascot in hero */
.hero-robot {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    height: 350px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-robot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.4));
}

/* Hero badge with pulse */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--color-cyan-light);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Responsive adjustments for robot */
@media (max-width: 1200px) {
    .hero-robot {
        width: 280px;
        height: 280px;
        right: 5%;
    }
}

@media (max-width: 992px) {
    .hero-robot {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: var(--space-8) auto 0;
        width: 250px;
        height: 250px;
        animation: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        padding-bottom: var(--space-16);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-bg::after {
        background: radial-gradient(ellipse at center, transparent 0%, var(--color-deep-navy) 80%);
    }
}

@media (max-width: 768px) {
    .hero-robot {
        width: 200px;
        height: 200px;
    }
    
    .nav-logo-img {
        width: 36px;
        height: 36px;
    }
    
    .nav-logo-text {
        font-size: var(--text-lg);
    }
}

/* Footer logo with robot */
.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.3));
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-white);
}

/* Dashboard robot avatar */
.dashboard-robot-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.dashboard-robot-avatar img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Loading animation with robot */
.loading-robot {
    width: 60px;
    height: 60px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
