.expanded-content {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Cursor styles for expandable content */
.step-content h3, .rec-item h4 {
    cursor: pointer;
    position: relative;
    padding-right: 20px;
}

.step-content h3::after, .rec-item h4::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.step-content h3.expanded::after, .rec-item h4.expanded::after {
    content: '-';
}

/* Affiliate link styles */
a[href^="http"]::after {
    content: '↗';
    display: inline-block;
    margin-left: 3px;
    font-size: 0.8em;
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--primary-color);
    cursor: help;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--dark-color);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark-color) transparent transparent transparent;
}

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

/* Call to action buttons */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #e86a4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Highlight box */
.highlight-box {
    background-color: rgba(74, 111, 165, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .tooltip .tooltip-text {
        width: 160px;
        margin-left: -80px;
    }
    
    .cta-button {
        display: block;
        width: 100%;
    }
}
