/* Sedge Logo Breathing Animation */

/* Hero section layout */
.hero {
    text-align: center;
    padding: 2rem 0 3rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
    position: relative;
    overflow: visible;
}

/* Logo container - center stage */
.logo-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px;
    height: 250px;
    margin-bottom: 1.5rem;
}

/* The logo image */
.logo-glow {
    width: 300px;
    height: 300px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    /* Transparent PNG - no blend needed */
    animation: logo-breathe 6s ease-in-out infinite;
}

/* Inner core glow - attached to logo */
.logo-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 270px;
    height: 270px;
    background: radial-gradient(circle, 
        rgba(126, 231, 135, 0.6) 0%,
        rgba(86, 211, 100, 0.3) 40%,
        transparent 70%);
    border-radius: 50%;
    z-index: 2;
    animation: core-pulse 6s ease-in-out infinite;
}

/* Outer emanating rings */
.emanation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(126, 231, 135, 0.3);
    opacity: 0;
    pointer-events: none;
    /* Start at logo size */
    width: 300px;
    height: 300px;
}

.emanation-1 {
    animation: emanate 6s ease-out infinite;
}

.emanation-2 {
    animation: emanate 6s ease-out infinite;
    animation-delay: 2s;
}

.emanation-3 {
    animation: emanate 6s ease-out infinite;
    animation-delay: 4s;
}

/* Inner brightness pulse */
.logo-container .brightness-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center,
        rgba(126, 231, 135, 0.2) 0%,
        transparent 60%);
    mix-blend-mode: overlay;
    z-index: 4;
    animation: brightness-pulse 6s ease-in-out infinite;
    pointer-events: none;
}

/* Keyframes */

@keyframes logo-breathe {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 0 20px rgba(126, 231, 135, 0.4))
                drop-shadow(0 0 40px rgba(126, 231, 135, 0.2));
    }
    50% {
        transform: translate(-50%, -50%) scale(1.03);
        filter: drop-shadow(0 0 40px rgba(126, 231, 135, 0.7))
                drop-shadow(0 0 80px rgba(126, 231, 135, 0.4))
                drop-shadow(0 0 120px rgba(126, 231, 135, 0.2));
    }
}

@keyframes core-pulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes emanate {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
        border-color: rgba(126, 231, 135, 0.4);
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
        border-color: rgba(126, 231, 135, 0);
    }
}

@keyframes brightness-pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Hover effect - intensify */
.logo-container:hover .logo-glow {
    animation-duration: 3s;
    filter: drop-shadow(0 0 60px rgba(126, 231, 135, 0.9))
            drop-shadow(0 0 120px rgba(126, 231, 135, 0.5));
}

.logo-container:hover::after {
    animation-duration: 3s;
}

/* Hero text */
.hero h1 {
    margin-top: 0.5rem;
    font-size: 2.2rem;
}

.hero .tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Mobile responsive */
@media (max-width: 700px) {
    .logo-container {
        width: 100%;
        max-width: 100%;
        height: 220px;
    }
    
    .logo-glow {
        width: 180px;
        height: 180px;
    }
    
    .logo-container::after {
        width: 160px;
        height: 160px;
    }
    
    .emanation {
        width: 180px;
        height: 180px;
    }
    
    .logo-container .brightness-overlay {
        width: 180px;
        height: 180px;
    }
}
