<style>
/* Futuristic Innovation Animation - Neural Network/DNA Hybrid */
/* Updated with Purple/Magenta Theme */

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    25% { transform: translate(20px, -20px); opacity: 0.8; }
    50% { transform: translate(-15px, -40px); opacity: 1; }
    75% { transform: translate(-25px, -15px); opacity: 0.6; }
}

@keyframes connection-pulse {
    0%, 100% { stroke-dashoffset: 1000; opacity: 0.2; }
    50% { stroke-dashoffset: 0; opacity: 0.8; }
}

.hero__innovation-sphere {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main central orb - Purple/Magenta gradient */
.innovation-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, 
        rgba(129, 140, 248, 0.9),    /* Light purple */
        rgba(99, 102, 241, 0.7),     /* Primary purple */
        rgba(79, 70, 229, 0.5));     /* Dark purple */
    border-radius: 50%;
    box-shadow: 
        0 0 60px rgba(99, 102, 241, 0.6),
        0 0 120px rgba(129, 140, 248, 0.3),
        inset 0 0 60px rgba(255, 255, 255, 0.2);
    animation: pulse-glow 4s ease-in-out infinite;
    overflow: hidden;
}

/* Orbiting rings - Purple theme */
.orbit-ring {
    position: absolute;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: rotate-slow linear infinite;
}

.orbit-ring:nth-child(1) {
    width: 280px;
    height: 280px;
    animation-duration: 20s;
    border-style: dashed;
    border-color: rgba(129, 140, 248, 0.3);
}

.orbit-ring:nth-child(2) {
    width: 350px;
    height: 350px;
    animation-duration: 30s;
    animation-direction: reverse;
    border-width: 1px;
    border-color: rgba(236, 72, 153, 0.25);  /* Magenta accent */
}

.orbit-ring:nth-child(3) {
    width: 420px;
    height: 420px;
    animation-duration: 40s;
    border-style: dotted;
    border-width: 1px;
    border-color: rgba(99, 102, 241, 0.2);
}

/* Neural network nodes - Purple/Magenta */
.neural-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(129, 140, 248, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.8);
    animation: particle-float 8s ease-in-out infinite;
}

.neural-node:nth-child(4) { 
    top: 10%; 
    left: 20%; 
    animation-delay: 0s; 
    width: 10px; 
    height: 10px;
    background: rgba(99, 102, 241, 0.8);
}
.neural-node:nth-child(5) { 
    top: 20%; 
    right: 15%; 
    animation-delay: 1s; 
    width: 14px; 
    height: 14px;
    background: rgba(236, 72, 153, 0.8);  /* Magenta node */
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
}
.neural-node:nth-child(6) { 
    bottom: 15%; 
    left: 15%; 
    animation-delay: 2s; 
    width: 8px; 
    height: 8px;
    background: rgba(129, 140, 248, 0.8);
}
.neural-node:nth-child(7) { 
    bottom: 20%; 
    right: 25%; 
    animation-delay: 3s; 
    width: 12px; 
    height: 12px;
    background: rgba(99, 102, 241, 0.8);
}
.neural-node:nth-child(8) { 
    top: 50%; 
    left: 5%; 
    animation-delay: 1.5s; 
    width: 10px; 
    height: 10px;
    background: rgba(165, 180, 252, 0.8);  /* Very light purple */
    box-shadow: 0 0 20px rgba(165, 180, 252, 0.8);
}
.neural-node:nth-child(9) { 
    top: 50%; 
    right: 5%; 
    animation-delay: 2.5s; 
    width: 14px; 
    height: 14px;
    background: rgba(236, 72, 153, 0.8);  /* Magenta node */
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
}

/* DNA helix strands - Purple gradient */
.dna-strand {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dna-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 102, 241, 0.4), 
        rgba(236, 72, 153, 0.3),
        transparent);
    height: 2px;
    width: 80%;
    left: 10%;
    transform-origin: center;
    animation: rotate-slow 15s linear infinite;
}

.dna-line:nth-child(1) { 
    top: 30%; 
    animation-delay: 0s;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(129, 140, 248, 0.4), 
        transparent);
}
.dna-line:nth-child(2) { 
    top: 50%; 
    animation-delay: -5s;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 102, 241, 0.4), 
        transparent);
}
.dna-line:nth-child(3) { 
    top: 70%; 
    animation-delay: -10s;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(236, 72, 153, 0.3), 
        transparent);
}

/* Energy particles - Purple/Magenta mix */
.energy-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(129, 140, 248, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(99, 102, 241, 1);
    animation: particle-float 6s ease-in-out infinite;
}

.energy-particle:nth-child(10) { 
    top: 15%; 
    left: 40%; 
    animation-delay: 0.5s;
    background: rgba(99, 102, 241, 0.9);
}
.energy-particle:nth-child(11) { 
    top: 85%; 
    left: 60%; 
    animation-delay: 1.5s;
    background: rgba(236, 72, 153, 0.9);
    box-shadow: 0 0 10px rgba(236, 72, 153, 1);
}
.energy-particle:nth-child(12) { 
    top: 40%; 
    left: 10%; 
    animation-delay: 2.5s;
    background: rgba(129, 140, 248, 0.9);
}
.energy-particle:nth-child(13) { 
    top: 60%; 
    left: 90%; 
    animation-delay: 3.5s;
    background: rgba(236, 72, 153, 0.9);
    box-shadow: 0 0 10px rgba(236, 72, 153, 1);
}

/* Glow effect - Purple theme */
.innovation-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(236, 72, 153, 0.1) 50%,
        transparent 70%);
    animation: pulse-glow 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero__innovation-sphere {
        width: 350px;
        height: 350px;
    }
    .innovation-orb {
        width: 150px;
        height: 150px;
    }
    .orbit-ring:nth-child(1) { width: 220px; height: 220px; }
    .orbit-ring:nth-child(2) { width: 280px; height: 280px; }
    .orbit-ring:nth-child(3) { width: 330px; height: 330px; }
}

/* Dark mode adjustments */
body.dark-mode .innovation-orb {
    background: radial-gradient(circle at 30% 30%, 
        rgba(129, 140, 248, 0.95),   /* Lighter in dark mode */
        rgba(99, 102, 241, 0.75),
        rgba(79, 70, 229, 0.6));
    box-shadow: 
        0 0 70px rgba(129, 140, 248, 0.7),
        0 0 140px rgba(99, 102, 241, 0.4),
        inset 0 0 60px rgba(255, 255, 255, 0.15);
}

body.dark-mode .orbit-ring {
    border-color: rgba(129, 140, 248, 0.4);
}

body.dark-mode .neural-node {
    box-shadow: 0 0 25px rgba(129, 140, 248, 0.9);
}

body.dark-mode .innovation-glow {
    background: radial-gradient(circle, 
        rgba(129, 140, 248, 0.25) 0%, 
        rgba(236, 72, 153, 0.15) 50%,
        transparent 70%);
}
</style>

<style>
/* Hero Circle Animation - Purple/Magenta Theme */

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero__circle {
    position: relative;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.4),
        0 10px 30px rgba(236, 72, 153, 0.2);
}

.hero__circle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

.hero__circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, 
        transparent 30%, 
        var(--primary) 30.5%, 
        transparent 31%);
    transform: translate(-50%, -50%) rotate(0deg);
    animation: rotate 20s linear infinite;
    opacity: 0.1;
}

/* Dark mode adjustments for hero circle */
body.dark-mode .hero__circle {
    box-shadow: 
        0 20px 60px rgba(129, 140, 248, 0.5),
        0 10px 30px rgba(236, 72, 153, 0.3);
}

body.dark-mode .hero__circle::before {
    border-color: var(--secondary);
    opacity: 0.4;
}

/* Responsive hero circle */
@media (max-width: 768px) {
    .hero__circle {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero__circle {
        width: 250px;
        height: 250px;
    }
}
</style>
