/* Updated color scheme with transition theme - blend BadChatGPT purple to APIGuard blue */
.gradient-bg {
    background: linear-gradient(135deg, #0ea5e9 0%, #7e22ce 100%);
}

.progress-ring {
    transform: rotate(-90deg);
}

.ring-bg {
    stroke: #e5e7eb;
    fill: none;
    stroke-width: 12;
}

.ring-progress {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease-in-out;
}

.good-score {
    stroke: #22c55e;
}

.medium-score {
    stroke: #eab308;
}

.bad-score {
    stroke: #ef4444;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.checkmark-animation {
    animation: checkmark 1s ease-in-out forwards;
}

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

/* Added style for more friendly UI */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 240px;
    background-color: #7e22ce;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -120px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #7e22ce transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Animation for scan button */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(126, 34, 206, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(126, 34, 206, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(126, 34, 206, 0);
    }
}

/* Transition animation */
.transition-icon {
    animation: morph 4s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0;
        transform: scale(0.8);
    }
}

.fade-in-delay {
    animation: fadeIn 1s ease-in-out 0.5s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Blog page specific styles */
.prose {
    max-width: none;
}

/* Fix inline styles for CSP compliance */
.transition-icon-delay {
    animation-delay: 2s;
}

.progress-bar-65 {
    width: 65%;
}

.hidden-links {
    display: none;
}