/* 
   Purple Circles CSS
   Enhanced animation and visual effects for data analyst specialist page
*/

.purple-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    animation: float-animation 20s infinite ease-in-out;
}

.purple-circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    opacity: 0.3;
    animation-delay: 0s;
}

.purple-circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    opacity: 0.2;
    animation-delay: -5s;
}

.purple-circle-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 25%;
    opacity: 0.15;
    animation-delay: -10s;
}

.purple-circle-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    opacity: 0.1;
    animation-delay: -15s;
}

@keyframes float-animation {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-10px, 20px) rotate(-3deg);
    }
    75% {
        transform: translate(15px, -10px) rotate(1deg);
    }
}

.data-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(139, 92, 246, 0.1);
}

.data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.data-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.3);
}

.data-card:hover::before {
    transform: translateX(0);
}

.data-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-primary);
    font-size: 24px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.data-card:hover .data-icon {
    transform: scale(1.1) rotate(10deg);
}

.module-demo {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    padding: 24px;
    border: 2px solid rgba(139, 92, 246, 0.1);
}

.module-demo-screen {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
}

.module-demo-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
    border-radius: 12px 12px 0 0;
}

.data-flow-arrow {
    position: relative;
    margin: 16px 0;
    text-align: center;
    color: var(--purple-primary);
    animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

.data-metric {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    margin: 0 auto 24px;
    position: relative;
    overflow: hidden;
}

.data-metric::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    animation: pulse-metric 3s infinite;
}

.data-metric-inner {
    position: relative;
    text-align: center;
}

.data-metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--purple-primary);
}

.data-metric-label {
    font-size: 0.875rem;
    color: var(--gray-medium);
}

@keyframes pulse-metric {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: scale(1);
        opacity: 0.6;
    }
}

.data-feature-list {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
}

.data-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.data-feature-icon {
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--purple-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    margin-top: 3px;
}

.data-progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}

.data-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.data-testimonial {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--purple-primary);
}

.data-testimonial::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 120px;
    color: rgba(139, 92, 246, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.data-screenshot {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

.data-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.25);
}

/* Gradient Button Animation */
.gradient-btn {
    background: linear-gradient(270deg, var(--purple-primary), var(--purple-light), var(--purple-deep), var(--purple-primary));
    background-size: 300% 100%;
    animation: gradient-animation 6s ease infinite;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}