/* ========================================
   PREMIUM FINTECH COMPARISON REDESIGN
   Circular Score Gauges + Animated Effects
   ======================================== */

/* Comparison Container */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    margin: 4rem 0;
    align-items: stretch;
}

/* Comparison Sides */
.comparison-side {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 3.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.comparison-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, rgba(184, 134, 11, 0.1) 0%, rgba(184, 134, 11, 0.3) 50%, rgba(184, 134, 11, 0.1) 100%);
}

.comparison-side.isla-aguada::before {
    background: linear-gradient(90deg, #10B981 0%, #059669 50%, #10B981 100%);
}

.comparison-side.riviera-maya::before {
    background: linear-gradient(90deg, #EF4444 0%, #DC2626 50%, #EF4444 100%);
}

.comparison-side:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.comparison-side.isla-aguada:hover {
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
}

.comparison-side.riviera-maya:hover {
    box-shadow: 0 20px 60px rgba(239, 68, 68, 0.12);
}

/* Comparison Header */
.comparison-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Location Badges */
.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.location-badge:hover {
    transform: scale(1.05);
}

.location-badge.isla {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.location-badge.isla i {
    font-size: 1.5rem;
    animation: trophySpin 3s ease-in-out infinite;
}

@keyframes trophySpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(10deg) scale(1.1); }
}

.location-badge.riviera {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
}

.location-badge.riviera i {
    font-size: 1.5rem;
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

/* Risk Score Container */
.risk-score {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.03);
}

.score-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

/* Circular Score Gauge */
.score-value {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
}

.score-circle {
    position: relative;
    width: 100%;
    height: 100%;
}

.score-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.score-circle-bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.06);
    stroke-width: 12;
}

.score-circle-progress {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.isla-score .score-circle-progress {
    stroke: url(#scoreGradientGreen);
    stroke-dasharray: 440;
    stroke-dashoffset: 440;  /* Start hidden */
    filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.4));
}

.isla-score .score-circle-progress.animated {
    stroke-dashoffset: 48;  /* Animate to 92% (9.2/10) */
}

.riviera-score .score-circle-progress {
    stroke: url(#scoreGradientRed);
    stroke-dasharray: 440;
    stroke-dashoffset: 440;  /* Start hidden */
    filter: drop-shadow(0 4px 12px rgba(239, 68, 68, 0.4));
}

.riviera-score .score-circle-progress.animated {
    stroke-dashoffset: 182;  /* Animate to 58% (5.8/10) */
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number-main {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
    display: block;
    margin-bottom: 0.25rem;
}

.isla-score .score-number-main {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.riviera-score .score-number-main {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-out-of {
    font-size: 1rem;
    color: #9CA3AF;
    font-weight: 600;
}

/* Comparison Divider */
.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.vs-badge {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #B8860B 0%, #D4A017 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 12px 32px rgba(184, 134, 11, 0.35);
    border: 6px solid #FFFFFF;
    letter-spacing: 2px;
    animation: vsPulse 3s ease-in-out infinite;
}

@keyframes vsPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 12px 32px rgba(184, 134, 11, 0.35); }
    50% { transform: scale(1.08); box-shadow: 0 16px 48px rgba(184, 134, 11, 0.45); }
}

/* Advantage Items */
.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    min-height: 120px;
}

.advantage-item.advantage-win {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, rgba(5, 150, 105, 0.02) 100%);
    border-color: rgba(16, 185, 129, 0.15);
}

.advantage-item.advantage-win:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.04) 100%);
    border-color: #10B981;
    transform: translateX(8px);
    box-shadow: -4px 0 16px rgba(16, 185, 129, 0.15);
}

.advantage-item.advantage-loss {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.04) 0%, rgba(220, 38, 38, 0.02) 100%);
    border-color: rgba(239, 68, 68, 0.15);
}

.advantage-item.advantage-loss:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(220, 38, 38, 0.03) 100%);
    border-color: #EF4444;
    transform: translateX(-4px);
}

.advantage-icon {
    font-size: 2rem;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.advantage-win .advantage-icon {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.advantage-loss .advantage-icon {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.1);
}

.advantage-loss .advantage-icon.risk {
    animation: warningShake 3s ease-in-out infinite;
}

@keyframes warningShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.advantage-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.advantage-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0A0A0A;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.advantage-content p {
    font-size: 0.95rem;
    color: #6A6A6A;
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

.advantage-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.advantage-badge.safe {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.advantage-badge.premium {
    background: linear-gradient(135deg, #B8860B 0%, #D4A017 100%);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.25);
}

.advantage-badge.risk {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.advantage-badge.neutral {
    background: #E5E7EB;
    color: #6B7280;
}
