/* Improved Pricing Page Styles - Inspired by Deepstash */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, #0FA47A 0%, #12C293 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Simplified Plan Cards */
.plan-card {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.selected-plan {
    border: 3px solid #0FA47A !important;
    box-shadow: 0 20px 40px rgba(15, 164, 122, 0.3);
}

/* Most Popular Badge - Deepstash style */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0FA47A 0%, #12C293 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Price Display - Deepstash style with $0 emphasis */
.price-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.trial-price {
    font-size: 36px;
    font-weight: 800;
    color: #0FA47A;
}

.trial-period {
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
}

.original-price {
    text-decoration: line-through;
    color: #9CA3AF;
    font-size: 18px;
    font-weight: 500;
}

.then-price {
    font-size: 20px;
    font-weight: 700;
    color: #374151;
}

/* Checkmark indicator */
.checkmark {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
}

.selected-plan .checkmark {
    display: block;
}

/* Feature list improvements */
.feature-list li {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 8px 0;
}

.feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #10B981;
}

/* CTA Button - Two-line style */
.cta-button {
    background: linear-gradient(135deg, #0FA47A 0%, #12C293 100%);
    color: white;
    padding: 20px 48px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 20px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15, 164, 122, 0.3);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(15, 164, 122, 0.4);
}

.cta-button-subtext {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

/* Trial explanation text - Deepstash style */
.trial-explanation {
    font-size: 14px;
    color: #6B7280;
    text-align: center;
    max-width: 600px;
    margin: 16px auto 0;
    line-height: 1.6;
}

/* Currency selector */
.currency-selector {
    position: relative;
}

.currency-selector select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .trial-price {
        font-size: 28px;
    }
    
    .then-price {
        font-size: 20px;
    }
    
    .cta-button {
        font-size: 18px;
        padding: 18px 36px;
    }
}

/* Accordion Styles */
details {
    transition: all 0.3s ease;
}

details[open] {
    background: #fafafa;
}

details summary {
    transition: all 0.2s ease;
}

details summary:hover {
    color: #0FA47A;
}

details[open] summary {
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

/* Hide default marker */
details summary::-webkit-details-marker {
    display: none;
}

/* Border utilities */
.border-3 {
    border-width: 3px;
}
