/**
 * AutoAI Poster Frontend CSS
 * Modern, responsive styling for generated content
 */

/* Container for cards */
.autoai-content-wrapper {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #334155;
    line-height: 1.8;
}

.autoai-content-wrapper h2,
.autoai-content-wrapper h3,
.autoai-content-wrapper h4 {
    color: #1e293b;
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-weight: 700;
}

/* Card Layout */
.autoai-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.autoai-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.autoai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    opacity: 0.8;
}

.autoai-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e2e8f0;
}

.autoai-card h3,
.autoai-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 600;
}

.autoai-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* FAQ Section */
.autoai-faq-section {
    background: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
    border: 1px solid #e2e8f0;
}

.autoai-faq-section h2 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    color: #0f172a;
}

.autoai-faq-item {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.autoai-faq-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.autoai-faq-item strong {
    display: block;
    color: #1e293b;
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.autoai-faq-item p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
}

.autoai-faq-item:last-child {
    margin-bottom: 0;
}

/* Featured Image Styling */
.autoai-featured-image-top {
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.autoai-featured-image-top:hover {
    transform: scale(1.01);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .autoai-card-container {
        grid-template-columns: 1fr;
    }

    .autoai-faq-section {
        padding: 25px;
    }
}