/* Demo Cards */
.demo-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.demo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    background: white;
    border: 2px solid #f8fafc;
    border-radius: 20px;
    text-decoration: none;
    color: #0f172a;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-card:hover {
    transform: translateY(-10px);
    border-color: #10b981;
    box-shadow: 0 30px 60px rgba(16, 185, 129, 0.2);
}

.demo-card.featured {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(99, 102, 241, 0.05));
}

.demo-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.demo-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.demo-card:hover .demo-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #10b981, #6366f1);
}

.demo-card-icon svg {
    color: #10b981;
    transition: color 0.3s;
}

.demo-card:hover .demo-card-icon svg {
    color: white;
}

.demo-card-content {
    flex: 1;
}

.demo-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.demo-card-description {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.demo-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.demo-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    color: #10b981;
}

.demo-feature-tag svg {
    width: 16px;
    height: 16px;
}

.demo-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid #f8fafc;
    font-weight: 600;
    color: #10b981;
    transition: all 0.3s;
}

.demo-card:hover .demo-card-action svg {
    transform: translateX(-5px);
}

.demo-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.demo-card:hover .demo-card-glow {
    opacity: 1;
}

@media (max-width: 768px) {
    .demo-cards-grid {
        grid-template-columns: 1fr;
    }
}