/* Enhanced Cards Styling */
.value-card-enhanced {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(249, 250, 251, 1));
}

.value-card-enhanced:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(243, 244, 246, 1));
}

/* Advanced Cost Comparison */
.cost-comparison-advanced {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-side {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.15);
}

.comparison-expensive {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
    border: 3px solid rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.comparison-protected {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    border: 3px solid rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.comparison-side:hover {
    transform: scale(1.05);
}

.comparison-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.badge-success {
    background: linear-gradient(135deg, #03abcd, #03465a);
    color: white;
    box-shadow: 0 4px 12px rgba(3, 171, 205, 0.4);
}

.comparison-icon {
    font-size: 2.5rem;
    margin: 1.25rem 0 0.75rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.comparison-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-price {
    margin: 1rem 0;
}

.price-range {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.price-highlight {
    font-size: 2.25rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-glow 2s ease-in-out infinite;
}

.price-note {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.5rem;
    font-weight: 500;
}

.comparison-warning,
.comparison-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.comparison-warning {
    background: rgba(239, 68, 68, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

.comparison-benefit {
    background: rgba(16, 185, 129, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

.comparison-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.divider-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.divider-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Savings Banner */
.value-savings-banner {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.15);
}

.savings-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.savings-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.savings-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.savings-text strong {
    font-size: 1.35rem;
    color: white;
    font-weight: 800;
}

.savings-text span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Enhanced Cards Content */
.value-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-description {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

.value-features-grid {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(3, 171, 205, 0.08), rgba(3, 70, 90, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(3, 171, 205, 0.15);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(3, 171, 205, 0.12), rgba(3, 70, 90, 0.08));
    border-color: rgba(3, 171, 205, 0.25);
}

.feature-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.feature-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    padding: 0.3rem 0.75rem;
    background: rgba(3, 171, 205, 0.1);
    border-radius: 8px;
}

/* Modern Tags */
.value-tags-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 171, 205, 0.25);
}

.tag-primary {
    background: linear-gradient(135deg, rgba(3, 70, 90, 0.15), rgba(3, 70, 90, 0.1));
    color: var(--primary-color);
    border: 1px solid rgba(3, 70, 90, 0.2);
}

.tag-secondary {
    background: linear-gradient(135deg, rgba(3, 171, 205, 0.15), rgba(3, 171, 205, 0.1));
    color: var(--secondary-color);
    border: 1px solid rgba(3, 171, 205, 0.2);
}

.tag-accent {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.1));
    color: var(--accent-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Value Highlights */
.value-highlights {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 2px dashed rgba(3, 70, 90, 0.12);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 600;
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Animations */
@keyframes slide-up-fade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.comparison-side {
    animation: scale-in 0.6s ease forwards;
}

.comparison-expensive {
    animation-delay: 0.1s;
    opacity: 0;
}

.comparison-protected {
    animation-delay: 0.3s;
    opacity: 0;
}

.feature-item {
    animation: slide-up-fade 0.5s ease forwards;
    opacity: 0;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.tag-pill {
    animation: slide-up-fade 0.4s ease forwards;
    opacity: 0;
}

.tag-pill:nth-child(1) {
    animation-delay: 0.2s;
}

.tag-pill:nth-child(2) {
    animation-delay: 0.3s;
}

.tag-pill:nth-child(3) {
    animation-delay: 0.4s;
}

/* Responsive Design for Value Section */
@media (max-width: 992px) {
    .value-cards-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cost-comparison-advanced {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .comparison-divider {
        flex-direction: row;
        height: auto;
    }

    .divider-line {
        width: 100%;
        height: 2px;
    }

    .savings-content {
        flex-direction: column;
        text-align: center;
    }

    .value-cards-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
