/* Hero Section Styles */
.hero-section-animations {
    position: relative;
    min-height: 100vh;
    background: var(--landing-bg-primary);
    overflow: hidden;    
    align-items: center;
    justify-content: center;    
}
/* Hero Container */
.hero-container-animations {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Content */
.hero-content-animations {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

/* Left Side - Feature Elements */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    z-index: 3;
}

/* Right Side - Feature Elements */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-end;
    z-index: 3;
}
.hero-text-box-animations {
    padding-top: 7rem;
}

.feature-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100px;
    height: 100px;
    padding: 1.5rem;
    background: var(--hero-bg-transparent);
    border: 1px solid var(--hero-border-accent);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 1;
    transform: translateX(0);
    /* clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); */
    transition-delay: 0.3s;
    z-index: 3;
    text-align: center;
}

.feature-element:hover {
    background: var(--hero-bg-accent-hover);
    border-color: var(--landing-accent);
    /* transform: translateY(-10px) scale(1.05);     */
    /* clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); */
}

.feature-element.feature-1 { transition-delay: 0.1s; z-index: 3; right:0%; margin:auto }
.feature-element.feature-2 { transition-delay: 0.2s; z-index: 3; right:25%; margin:auto }
.feature-element.feature-3 { transition-delay: 0.3s; z-index: 3; right:50%; margin:auto }
.feature-element.feature-4 { transition-delay: 0.4s; z-index: 3; right:25%; margin:auto }
.feature-element.feature-5 { transition-delay: 0.5s; z-index: 3; right:0%; margin:auto }
.feature-element.feature-6 { transition-delay: 0.1s; z-index: 3; left:0%; margin:auto }
.feature-element.feature-7 { transition-delay: 0.2s; z-index: 3; left:25%; margin:auto }
.feature-element.feature-8 { transition-delay: 0.3s; z-index: 3; left:50%; margin:auto }
.feature-element.feature-9 { transition-delay: 0.4s; z-index: 3; left:25%; margin:auto }
.feature-element.feature-10 { transition-delay: 0.5s; z-index: 3; left:0%; margin:auto }

.feature-icon-animations {    
    display: flex;
    align-items: center;
    justify-content: center;    
    border-radius: 12px;
    color: var(--landing-text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.feature-element:hover .feature-icon-animations {
    transform: scale(1.2);    
}

.feature-text {
    color: var(--landing-text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.2;
}

.feature-element:hover .feature-text {
    color: var(--landing-accent);
    transform: scale(1.05);
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    z-index: 4;
}

.logo-container-animations {
    position: relative;
    margin-bottom: 1rem;
    z-index: 4;
}

.logo-panel-animations {
    position: relative;
    padding: 1.5rem;
    /* background: var(--hero-bg-transparent); */
    border: 1px solid var(--hero-border-accent);
    border-radius: 24px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;    
    /* transition-delay: 0.3s; */
    z-index: 4;
}

.logo-panel-animations:hover {
    border-color: var(--landing-accent);    
    /* transform: translateY(-10px) scale(1.05); */
    /* clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); */
    z-index: 4;
}

.hero-logo {
    width: 140px;
    height: auto;
    /* filter: drop-shadow(0 15px 30px var(--hero-glow-primary)); */
    filter: drop-shadow(var(--hero-glow-primary) 0px 22px 70px 4px);
    transition: all 0.3s ease;
    z-index: 4;

    
}

.logo-panel-animations:hover .hero-logo {
    /* transform: scale(1.1); */
    filter: drop-shadow(0 20px 40px var(--hero-glow-strong));
}

.logo-glow-animations {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--hero-glow-secondary) 0%, transparent 70%);
    border-radius: 50%;
    /* transform: translate(-50%, -50%); */
    z-index: -1;
    animation: logoGlow-animations 4s ease-in-out infinite;
}

@keyframes logoGlow-animations {
    0%, 100% {
        opacity: 0.3;
        /* transform: translate(-50%, -50%) scale(1); */
    }
    50% {
        opacity: 0.6;
        /* transform: translate(-50%, -50%) scale(1.1); */
    }
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connection-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 0; 
    opacity: 0.4; 
    transition: all 0.5s ease;
    z-index: 1;
    stroke-width: 2; 
}

.connection-line.line-1 { transition-delay: 0.1s; z-index: 1; }
.connection-line.line-2 { transition-delay: 0.2s; z-index: 1; }
.connection-line.line-3 { transition-delay: 0.3s; z-index: 1; }
.connection-line.line-4 { transition-delay: 0.4s; z-index: 1; }
.connection-line.line-5 { transition-delay: 0.5s; z-index: 1; }
.connection-line.line-6 { transition-delay: 0.6s; z-index: 1; }
.connection-line.line-7 { transition-delay: 0.7s; z-index: 1; }
.connection-line.line-8 { transition-delay: 0.8s; z-index: 1; }
.connection-line.line-9 { transition-delay: 0.9s; z-index: 1; }
.connection-line.line-10 { transition-delay: 1.0s; z-index: 1; }


@keyframes linePulse {
    0%, 100% {
        stroke-opacity: 0.3;
        filter: brightness(1);
    }
    50% {
        stroke-opacity: 1;
        filter: brightness(1.5);
    }
}


@keyframes lineGlow {
    0% {
        stroke-opacity: 0.4;
        stroke-width: 2;
        filter: brightness(1) drop-shadow(0 0 3px var(--hero-glow-minimal));
    }
    25% {
        stroke-opacity: 0.6;
        stroke-width: 3;
        filter: brightness(1.3) drop-shadow(0 0 6px var(--hero-glow-weak));
    }
    50% {
        stroke-opacity: 1;
        stroke-width: 4;
        filter: brightness(2) drop-shadow(0 0 12px var(--hero-glow-intense)) drop-shadow(0 0 20px var(--hero-glow-soft));
    }
    75% {
        stroke-opacity: 1;
        stroke-width: 4;
        filter: brightness(2.2) drop-shadow(0 0 15px var(--hero-glow-intense)) drop-shadow(0 0 25px var(--hero-glow-medium));
    }
    100% {
        stroke-opacity: 0.9;
        stroke-width: 3;
        filter: brightness(1.8) drop-shadow(0 0 10px var(--hero-glow-medium)) drop-shadow(0 0 18px var(--hero-glow-light));
    }
}

.connection-line.animated {
    animation: lineGlow 2s ease-in-out forwards;
    z-index: 1;
}

.connection-line.glow-complete {
    stroke-opacity: 0.9;
    stroke-width: 3;
    filter: brightness(1.8) drop-shadow(0 0 10px var(--hero-glow-medium)) drop-shadow(0 0 18px var(--hero-glow-light));
    animation: breathingGlow 4s ease-in-out infinite;
}

@keyframes breathingGlow {
    0% {
        stroke-opacity: 0.9;
        stroke-width: 3;
        filter: brightness(1.8) drop-shadow(0 0 10px var(--hero-glow-medium)) drop-shadow(0 0 18px var(--hero-glow-light));
    }
    25% {
        stroke-opacity: 0.7;
        stroke-width: 2.5;
        filter: brightness(1.4) drop-shadow(0 0 8px var(--hero-glow-light)) drop-shadow(0 0 15px var(--hero-glow-weak));
    }
    50% {
        stroke-opacity: 0.5;
        stroke-width: 2;
        filter: brightness(1.2) drop-shadow(0 0 6px var(--hero-glow-weak)) drop-shadow(0 0 12px var(--hero-glow-minimal));
    }
    75% {
        stroke-opacity: 0.7;
        stroke-width: 2.5;
        filter: brightness(1.4) drop-shadow(0 0 8px var(--hero-glow-light)) drop-shadow(0 0 15px var(--hero-glow-weak));
    }
    100% {
        stroke-opacity: 0.9;
        stroke-width: 3;
        filter: brightness(1.8) drop-shadow(0 0 10px var(--hero-glow-medium)) drop-shadow(0 0 18px var(--hero-glow-light));
    }
}

@media (max-width: 1200px) {
    .hero-content-animations {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-left, .hero-right {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .feature-element {
        width: 85px;
        height: 85px;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-container-animations {
        padding: 1rem;
    }
    
    .logo-panel-animations {
        padding: 2rem;
    }
    
    .hero-logo {
        width: 100px;
    }
    
    .hero-left, .hero-right {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-element {
        width: 70px;
        height: 70px;
        padding: 0.75rem;
    }
    
    .feature-icon-animations {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .feature-text {
        font-size: 0.8rem;
    }
  /* Left Side - Feature Elements */
.hero-left {
    display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    align-items: flex-start;
    z-index: 3;
}

/* Right Side - Feature Elements */
.hero-right {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-end;
    z-index: 3;
}
    .feature-element.feature-1 { transition-delay: 0.1s; z-index: 3; top:0%; margin:auto }
    .feature-element.feature-2 { transition-delay: 0.2s; z-index: 3; top:25%; margin:auto }
    .feature-element.feature-3 { transition-delay: 0.3s; z-index: 3; top:50%; margin:auto }
    .feature-element.feature-4 { transition-delay: 0.4s; z-index: 3; top:25%; margin:auto }
    .feature-element.feature-5 { transition-delay: 0.5s; z-index: 3; top:0%; margin:auto }
    .feature-element.feature-6 { transition-delay: 0.1s; z-index: 3; bottom:0%; margin:auto }
    .feature-element.feature-7 { transition-delay: 0.2s; z-index: 3; bottom:25%; margin:auto }
    .feature-element.feature-8 { transition-delay: 0.3s; z-index: 3; bottom:50%; margin:auto }
    .feature-element.feature-9 { transition-delay: 0.4s; z-index: 3; bottom:25%; margin:auto }
    .feature-element.feature-10 { transition-delay: 0.5s; z-index: 3; bottom:0%; margin:auto }
}

@media (max-width: 480px) {
    .logo-panel-animations {
        padding: 1.5rem;
    }
    
    .hero-logo {
        width: 80px;
    }
    
    .feature-element {
        width: 50px;
        height: 50px;
        padding: 0.5rem;
    }
    
    .feature-icon-animations {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .feature-text {
        font-size: 0.7rem;
    }
    /* Left Side - Feature Elements */
.hero-left {
    display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    align-items: flex-start;
    z-index: 3;
}

/* Right Side - Feature Elements */
.hero-right {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-end;
    z-index: 3;
}
    .feature-element.feature-1 { transition-delay: 0.1s; z-index: 3; top:0%; margin:auto }
    .feature-element.feature-2 { transition-delay: 0.2s; z-index: 3; top:25%; margin:auto }
    .feature-element.feature-3 { transition-delay: 0.3s; z-index: 3; top:50%; margin:auto }
    .feature-element.feature-4 { transition-delay: 0.4s; z-index: 3; top:25%; margin:auto }
    .feature-element.feature-5 { transition-delay: 0.5s; z-index: 3; top:0%; margin:auto }
    .feature-element.feature-6 { transition-delay: 0.1s; z-index: 3; bottom:0%; margin:auto }
    .feature-element.feature-7 { transition-delay: 0.2s; z-index: 3; bottom:25%; margin:auto }
    .feature-element.feature-8 { transition-delay: 0.3s; z-index: 3; bottom:50%; margin:auto }
    .feature-element.feature-9 { transition-delay: 0.4s; z-index: 3; bottom:25%; margin:auto }
    .feature-element.feature-10 { transition-delay: 0.5s; z-index: 3; bottom:0%; margin:auto }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
}


.hero-section-animations.loading {
    opacity: 0;
}

.hero-section-animations.loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.feature-element {
    position: relative;
    overflow: hidden;
}

.feature-element::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--hero-shine-effect), transparent);
    transition: left 0.5s ease;
}

.feature-element:hover::before {
    left: 100%;
}

.logo-panel-animations::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--landing-accent), transparent, var(--landing-accent));
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-panel-animations:hover::before {
    opacity: 0.3;
}

.feature-element::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--hero-shine-effect) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.feature-element:hover::after {
    opacity: 1;
}

/* .feature-element:hover {
    transform: translateY(-10px) scale(1.05);
} */

.feature-element:hover ~ .connection-line,
.feature-element:hover + .connection-line {
    stroke-width: 4 !important;
    filter: brightness(2.0) drop-shadow(0 0 15px var(--hero-glow-intense)) drop-shadow(0 0 25px var(--hero-glow-medium)) !important;
    transition: all 0.3s ease;
}

.connection-line.glow-complete.line-1 { animation-delay: 0s; }
.connection-line.glow-complete.line-2 { animation-delay: 0.5s; }
.connection-line.glow-complete.line-3 { animation-delay: 1.0s; }
.connection-line.glow-complete.line-4 { animation-delay: 1.5s; }
.connection-line.glow-complete.line-5 { animation-delay: 2.0s; }
.connection-line.glow-complete.line-6 { animation-delay: 2.5s; }
.connection-line.glow-complete.line-7 { animation-delay: 3.0s; }
.connection-line.glow-complete.line-8 { animation-delay: 3.5s; }
.connection-line.glow-complete.line-9 { animation-delay: 4.0s; }
.connection-line.glow-complete.line-10 { animation-delay: 4.5s; }

.particle {
    pointer-events: none;
    z-index: 2;
    transition: all 0.3s ease;
    filter: url(#particleGlow);
    opacity: 0; 
    fill: var(--landing-accent);
    stroke: none;
    r: 2; 
}

.particle-trail {
    pointer-events: none;
    z-index: 1;
    filter: url(#particleTrail);
    opacity: 0.3;
    fill: var(--landing-accent);
    stroke: none;
    r: 1;
}

.particle.particle-animating {
    opacity: 0.5 !important;
    animation: particlePulse 2.5s ease-in-out infinite;
}

@keyframes particlePulse {
    0%, 100% {
        r: 2;
        filter: url(#particleGlow);
    }
    50% {
        r: 3;
        filter: url(#particleGlow);
    }
}

.feature-element:hover ~ .particle,
.feature-element:hover + .particle {
    animation-duration: 0.8s !important;
    filter: url(#particleGlow);
}

@keyframes moveAlongPath {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.particle-moving {
    animation: moveAlongPath 5s linear infinite;
}
