/* Tier Gate System Styles */
.tool-item.tier-locked {
    opacity: 0.5;
    position: relative;
    cursor: pointer;
    filter: grayscale(0.3);
}

.tool-item.tier-locked:hover {
    opacity: 0.7;
    transform: translateY(-3px);
    filter: grayscale(0);
}

.tool-item.tier-locked .lock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.tool-item.tier-locked .tool-subtitle {
    color: #e91e63 !important;
    font-style: italic;
}

/* Upgrade Banner */
.tier-upgrade-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(233,30,99,0.08), rgba(52,152,219,0.08));
    border: 1px solid rgba(233,30,99,0.2);
    border-radius: 12px;
    padding: 14px 20px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #aaa;
    flex-wrap: wrap;
}

.tier-upgrade-banner .banner-lock {
    font-size: 1rem;
}

.tier-upgrade-banner .banner-link {
    color: #e91e63;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.tier-upgrade-banner .banner-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Upgrade Modal */
.tier-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.tier-modal {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid rgba(233,30,99,0.4);
    border-radius: 20px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideUp 0.3s ease;
}

.tier-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.tier-modal-close:hover {
    color: #fff;
}

.tier-modal-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.tier-modal h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.tier-modal p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.tier-options {
    margin: 20px 0;
}

.tier-option {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(233,30,99,0.3);
    border-radius: 15px;
    padding: 25px;
}

.tier-name {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e91e63;
    margin-bottom: 8px;
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
}

.tier-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.tier-desc {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.tier-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #e91e63;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.tier-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(233,30,99,0.4);
}

.tier-note {
    font-size: 0.8rem !important;
    color: #555 !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
