/* === EXAMPLES SECTION === */
.examples {
    background: var(--color-white);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

/* Force three columns on larger screens so the three example cards sit on one line */
@media (min-width: 992px) {
    .examples-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.example-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.example-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.example-preview {
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.example-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent);
}

.example-icon {
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.example-icon svg {
    width: 64px;
    height: 64px;
    stroke-width: 1.5;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.example-card:hover .example-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.example-content {
    padding: var(--spacing-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.example-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray-900);
}

.example-description {
    color: var(--color-gray-700);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.example-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xl);
    justify-content: center;
}

.example-card .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
    .examples-grid {
        grid-template-columns: 1fr;
    }
}