/* Features Page Styles */
.features-card {
    background-color: var(--card);
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(138, 92, 246, 0.1);
    padding: 2rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header h1 {
    color: var(--text);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: var(--subtext);
    opacity: 0.8;
}

.features-section {
    margin-bottom: 3rem;
}

.features-section h2 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.features-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

.features-section.upcoming h2::after {
    background-color: var(--secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background-color: rgba(138, 92, 246, 0.1);
    border-radius: 0.8rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    border: 1px solid rgba(138, 92, 246, 0.2);
    opacity: 1; /* Ensure items are visible by default */
}

.feature-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(138, 92, 246, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-item h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--subtext);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.feature-item ul {
    list-style-type: none;
    padding-left: 0;
}

.feature-item ul li {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.conversion-examples {
    margin-top: 3rem;
}

.conversion-examples h2 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.conversion-examples h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.example-item {
    background-color: rgba(138, 92, 246, 0.05);
    border-radius: 0.8rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, opacity 0.5s ease;
    border: 1px solid rgba(138, 92, 246, 0.1);
    opacity: 1; /* Ensure items are visible by default */
}

.example-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.example-item:hover {
    transform: translateY(-5px);
}

.example-placeholder {
    background-color: rgba(138, 92, 246, 0.1);
    border-radius: 0.5rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px dashed rgba(138, 92, 246, 0.3);
}

.example-placeholder span {
    color: var(--primary);
    font-weight: 500;
    font-size: 1.2rem;
}

.example-item p {
    color: var(--subtext);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .features-card {
        padding: 1.5rem;
    }

    .features-grid, .examples-grid {
        grid-template-columns: 1fr;
    }

    .card-header h1 {
        font-size: 1.5rem;
    }

    .features-section h2, .conversion-examples h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .features-card {
        padding: 1rem;
    }

    .feature-item, .example-item {
        padding: 1rem;
    }

    .example-placeholder {
        height: 150px;
    }
}
